The man file for rsnapshot says the following -
Backup levels must be specified in the config file in order,
from most frequent to least frequent. The first entry is the one
which will be synced with the backup points. The subsequent
backup levels (e.g., daily, weekly, etc) simply rotate, with
each higher backup level pulling from the one below it for its
.0 directory.
retain hourly 6
retain daily 7
retain weekly 4
I did not see any such lines in rsnapshot.conf so I added them -- using Tab separators not spaces -- along with the explanation above it, commented out of course. Now, let's see what happens. When I type rsnapshot -t hourly as su I no longer get the error message, rather I get this
- Code: Select all
6103 (process ID) old priority 0, new priority 19
echo 6101 > /var/run/rsnapshot.pid
mkdir -m 0755 -p /home/isaiah/Downloads/backups/hourly.0/
/usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded \
--exclude=/home/isaiah/Downloads/backups/ /etc \
/home/isaiah/Downloads/backups/hourly.0/localhost/
mkdir -m 0755 -p /home/isaiah/Downloads/backups/hourly.0/
/usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded \
--exclude=/home/isaiah/Downloads/backups/ /usr \
/home/isaiah/Downloads/backups/hourly.0/localhost/
touch /home/isaiah/Downloads/backups/hourly.0/
Just to be safe, I also ran rsync manually to make copies of the /usr and /etc directories. I don't see a Restore option in the Drakconf interface for Snapshots, so I guess if I ever have to do a restore I will have to do it from command line. Is that correct?