LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   How to restore a kup backup ? (https://www.linuxquestions.org/questions/linux-desktop-74/how-to-restore-a-kup-backup-4175661035/)

marozsas 09-17-2019 10:19 AM

How to restore a kup backup ?
 
I have created a backup using the kde built-in backup tool (kup).
The way to create was pretty straightforward: went to kde configuration panel, backup section, fill the form and done.
Now, I want to restore it. I go to the same place and it shows a panel with an entry to my last backup with a red badge and a white cross (or a big X). Uhmm...

At the bottom of this panel, the "restore" button is disabled...

The backup disk is mounted and looks like there a a big file there:
Code:

miguel@fenix:~/tmp$ du  /media/miguel/InternalBackup/kup-backup/miguel/
4      /media/miguel/InternalBackup/kup-backup/miguel/refs/tags
8      /media/miguel/InternalBackup/kup-backup/miguel/refs/heads
16      /media/miguel/InternalBackup/kup-backup/miguel/refs
52      /media/miguel/InternalBackup/kup-backup/miguel/hooks
4      /media/miguel/InternalBackup/kup-backup/miguel/branches
8      /media/miguel/InternalBackup/kup-backup/miguel/info
8      /media/miguel/InternalBackup/kup-backup/miguel/logs/refs/heads
12      /media/miguel/InternalBackup/kup-backup/miguel/logs/refs
16      /media/miguel/InternalBackup/kup-backup/miguel/logs
4      /media/miguel/InternalBackup/kup-backup/miguel/objects/info
47201736        /media/miguel/InternalBackup/kup-backup/miguel/objects/pack
47201744        /media/miguel/InternalBackup/kup-backup/miguel/objects
47321876        /media/miguel/InternalBackup/kup-backup/miguel/
miguel@fenix:~/tmp$

What is wrong ? Why the red badge ?

Running KUbuntu 19.04.

frankbell 09-18-2019 09:13 PM

See man kup-filedigger.

I've been curious about this and did some digging. I found lots of stuff about how to back up with kup, but little about restoring from kup.

As I read that man page, kup is designed to allow user to find and restore specific files from the archive. not to restore the whole archive at once.

syg00 09-19-2019 12:08 AM

As a general rule I avoid any backup tool that doesn't allow mounting and viewing of the archive with "standard" tools. Effectively that means I use rsync. I've seen all the spiels re how great this-or-that compresses things and once you install the tool on a liveCD you can get at everything.

Tried a few, been bitten. There are exceptions for specific situations, but generally it's rsync or equivalent for me.
However, I do applaud the OP for trying out the restore functionality (hopefully before it was actually needed). Almost everyone seems to just take a backup and think everything will be ok in the morning ... :scratch:


All times are GMT -5. The time now is 11:00 PM.