The Following 6 Users Say Thank You to traysh For This Useful Post: | ||
![]() |
2013-07-04
, 17:12
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#2
|
The Following User Says Thank You to juiceme For This Useful Post: | ||
![]() |
2013-07-04
, 17:16
|
Posts: 324 |
Thanked: 739 times |
Joined on Jun 2009
@ São Paulo, Brazil
|
#3
|
Allright, now I got it, you are using host computers btrfs'es journalling to track the changes. At first I thought you had formatted your N9 partitions as btrfs.
nice, Ill have to try that.
The Following User Says Thank You to traysh For This Useful Post: | ||
![]() |
2013-07-05
, 20:32
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#4
|
![]() |
2013-07-05
, 20:45
|
Posts: 324 |
Thanked: 739 times |
Joined on Jun 2009
@ São Paulo, Brazil
|
#5
|
Should be possible, and not too difficult to port as it has already been introduced on 2.6.32. Altough, I cannot say how effective it is running on flash SF.
The Following User Says Thank You to traysh For This Useful Post: | ||
![]() |
2013-07-05
, 20:48
|
Posts: 324 |
Thanked: 739 times |
Joined on Jun 2009
@ São Paulo, Brazil
|
#6
|
The Following User Says Thank You to traysh For This Useful Post: | ||
![]() |
2013-07-07
, 22:59
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#7
|
But btrfs has been in huge development, do you really think it wouldn't be difficult to backport?
The advantage of this method over dd is it will not use the partition size of disk space for each backup. In the first backup, all files in each partition will be copied (and not the unused space as in dd). In the next backups, only the differences will be copied. Yet, you will have multiple btrfs subvolume snapshots with all the files but not multiple copies of the files due to this filesystem CoW capability.
real example:
One additional advantage is that the backups are fast because only the differences are transferred between the phone and the computer.
Example of the script output:
1) The filesystem in the computer in which the backup will be made must be btrfs. No ext2, ext3, ext4 or anything else.
2) Rsync must be installed in the system
3) It is required familiarity with exposing the phone's partitions to a computer using this method.
I know this is too advanced to most of this forum users, but I hope it will be useful to someone.
Last edited by traysh; 2013-07-05 at 20:51. Reason: Added the restore script