How to restore backup made with rsnapshot??
by Dynosaw3 from LinuxQuestions.org on (#5FNF0)
People,
Every morning, on boot-up for the first time, my machine runs rsnapshot as
an anacron job which backs up the contents of /home/, /etc/ and /usr/local/
to a separate (EXT4) hard disk. We are talking here about a stand-alone,
domestic, linux box running under Debian "Buster". The back up structure
looks like this:
<rsnapshot_root>/daily.0/localhost/etc
<rsnapshot_root>/daily.0/localhost/home
<rsnapshot_root>/daily.0/localhost/usr/local
<rsnapshot_root>/daily.1/localhost/etc
... and so on through to .../daily.6/*
An attempt to copy the backup using
rsync -avr <path/to/backup> <path/to/destination>
was disappointing. I got 7 times the GB's I expected instead of 1x
and it went on for hours - literally.
MY QUESTION:
How EXACTLY does one restore (or copy) the most recent backup??
I mean what commands must I give at the CLI (in detail please) ??
Either an example or a pointer to an approriate website will help
greatly.
Thanks in advance,
Dynosaw.
--


Every morning, on boot-up for the first time, my machine runs rsnapshot as
an anacron job which backs up the contents of /home/, /etc/ and /usr/local/
to a separate (EXT4) hard disk. We are talking here about a stand-alone,
domestic, linux box running under Debian "Buster". The back up structure
looks like this:
<rsnapshot_root>/daily.0/localhost/etc
<rsnapshot_root>/daily.0/localhost/home
<rsnapshot_root>/daily.0/localhost/usr/local
<rsnapshot_root>/daily.1/localhost/etc
... and so on through to .../daily.6/*
An attempt to copy the backup using
rsync -avr <path/to/backup> <path/to/destination>
was disappointing. I got 7 times the GB's I expected instead of 1x
and it went on for hours - literally.
MY QUESTION:
How EXACTLY does one restore (or copy) the most recent backup??
I mean what commands must I give at the CLI (in detail please) ??
Either an example or a pointer to an approriate website will help
greatly.
Thanks in advance,
Dynosaw.
--