Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
userdoc:tt_tarsnap_online_backup [2018/09/29 10:10] abelbeck [Restore to a New Install] |
userdoc:tt_tarsnap_online_backup [2019/11/21 10:18] (current) mkeuter [Restore to a New Install] |
||
---|---|---|---|
Line 148: | Line 148: | ||
tarsnap-backup --uninstall-cronjob | tarsnap-backup --uninstall-cronjob | ||
+ | | ||
+ | !!Tip:!! Don't use a cronjob between 02:00 and 03:00 in the night, because of DST switching :-). | ||
\\ | \\ | ||
Line 175: | Line 177: | ||
!!Note ->!! If you restore to a different media than the original, you need to run this command afterwards to re-create the [[https:// | !!Note ->!! If you restore to a different media than the original, you need to run this command afterwards to re-create the [[https:// | ||
- | tarsnap | + | tarsnap |
\\ | \\ | ||
Line 182: | Line 184: | ||
It is quite useful to use a Tarsnap Backup to restore a machine following a new install. | It is quite useful to use a Tarsnap Backup to restore a machine following a new install. | ||
- | !!Note -> | + | !!Note -> |
+ | !!Warning ->!! You should not use a Tarsnap Backup to " | ||
+ | |||
+ | First, configure AstLinux using the standard **[[userdoc: | ||
+ | Set the " | ||
+ | |||
+ | Then, using the CLI, create the tarsnap directory: | ||
+ | |||
+ | mkdir / | ||
+ | |||
+ | Copy the stored unique '' | ||
+ | |||
+ | Restore all the ''/ | ||
+ | |||
+ | tarsnap -xvf machine-kd-archive -C /mnt/kd | ||
+ | |||
+ | !!Note ->!! We are skipping restoring the '' | ||
+ | |||
+ | Resync the tarsnap cache directory: | ||
+ | |||
+ | tarsnap --fsck | ||
+ | |||
+ | Finally, Reboot the system to use the restored data. | ||
\\ | \\ | ||
- | ===== Nuke All | + | ===== Nuke All Archives ===== |
- | Archives ===== | + | |
There may be a time when you want to delete all the stored archives associated with a '' | There may be a time when you want to delete all the stored archives associated with a '' |