|
|
|
Re: How to avoid issues backup home [message #2529 is a reply to message #2525] |
Fri, 17 October 2014 23:13   |
|
Hm, .config and .local seem important to me (contain configurations). I'd back them up. In fact I'd back up everything in ~, perhaps except big files (iso, mp4 etc that I can re-download from the internet).
|
|
|
Re: How to avoid issues backup home [message #2531 is a reply to message #2529] |
Sat, 18 October 2014 00:15   |
 |
ongoto
Messages: 173 Registered: October 2013 Location: California USA
|
Senior Member |
|
|
-Stella6.5
I've had problems with grsync and dot files. I keep those big files on another partition and just link to them. My backups are $HOME, /root, /etc, MBR, and /boot.
I prefer rdiff-backup. I have some small scripts that run rdiff-backup twice a day with cron. Weekly scripts run rsync to copy the backups to an external drive. Like rsync, rdiff backups are incremental and scriptable and as small as can be. The big difference is the restore function, plus it's simple to recover individual files with cp -a or drag and drop. Includes/excludes can be kept in separate files. An include file would look something like...
/boot
/etc
/root
/home/user
- /** <-- the -hyphen means exclude and /** means "every thing else". An exclude file not needed in this case.
The syntax is similar to rsync but takes some getting used to. Once you get it set up, your backups happen quietly while you're doing other things.
fsarchiver is good for backing up the whole partition, but you have to run it from a live CD or from an OS on a different partition. I believe it will run from a script also.
grsync is still good for manual chores and mirroring.
@ detipco
Thanks for the heads up.
Cheers
[Updated on: Sat, 18 October 2014 06:46] Report message to a moderator
|
|
|
|
|