[Borgbackup] question regarding restoration of latest backup

Christian abelschreck3 at freenet.de
Sat Sep 15 11:27:04 EDT 2018


Hi altogether,

I´ve got a question regarding restoration of backups.

I looked at https://borgbackup.readthedocs.io/en/stable/quickstart.html
for information. But somehow I couldn´t find what I was looking for.

Out of sheer interest:

Suppose I created a backup with "borg create /path/to/repo::Monday ~/src
~/Documents" .
And the next day: "borg create --stats /path/to/repo::Tuesday ~/src
~/Documents" .

It says: "This backup will be a lot quicker and a lot smaller since only
new never before seen data is stored."

O.K., I understand. But what if I wanted to restore the latest backup
(the "Tuesday" one)?
Since this one only holds the new data I suppose I´d have to keep the
"Monday" backup, too.

But what would be the correct command? Would it be  "borg extract
/path/to/repo::Tuesday" ?
After all I want to retore the latest backup.
Would "borg extract /path/to/repo::Tuesday"  take care of the "Monday"
backup automatically since the bulk of the data is stored there?

Thanks a lot for your help.

Greetings
Rosika



More information about the Borgbackup mailing list