1 |
> I'm curious what you, collective Gentoo-users, may be using to solve |
2 |
> this problem. rsync, rdiff-backup, rsnapshot, dirvish, bacula, |
3 |
> tar+ssh...? |
4 |
|
5 |
rsync -av --delete --delete-excluded \ |
6 |
--exclude=/dev/ \ |
7 |
--exclude=/proc/ \ |
8 |
--exclude=/sys/ \ |
9 |
--exclude=/tmp/ \ |
10 |
--exclude=/usr/portage/ \ |
11 |
--exclude=/var/portage/ \ |
12 |
--exclude=/var/run/ \ |
13 |
--exclude=/var/tmp/ \ |
14 |
/ bak@××××××××××××××××.bar:/mnt/backup/machine1/ |
15 |
|
16 |
I exclude the portage tree, no reason to bak it up. emerge --sync and |
17 |
you're done. |
18 |
|
19 |
To restore I just boot into the rescue system of my server hoster and do a |
20 |
|
21 |
rsync -av --delete --delete-excluded \ |
22 |
bak@××××××××××××××××.bar:/mnt/backup/machine1/ / |