Re: Continue backup
Siddharth Manthan <[email protected]> Thu, 13 Jul 2023 14:05:38 +0000
| Newsgroups | gmane.comp.sysutils.backup.dar.support |
|---|---|
| Message-ID | <TYZPR04MB6279774CFBD4222B01621B19F537A@TYZPR04MB6279.apcprd04.prod.outlook.com> |
Assuming we are making 20GB slices. What happens when a file of, say 100GB is being backed up and it is interrupted at 50GB. We have 2 valid slice and 1 invalid. I delete the invalid slice. Will the data in first two slices be used or will it be discarded ? ________________________________ From: Stefanhammerl91--- via Dar-support <[email protected]> Sent: Thursday, July 13, 2023 6:54:55 PM To: need help compiling or using dar ? This mailing list is for you. <[email protected]> Cc: Stefanhammerl91-gM/[email protected] <stefanhammerl91-gM/[email protected]> Subject: Re: [Dar-support] Continue backup Hello, I am writing a GUI for DAR, too, having the same use case where the user does not need to know anything about dar, archives, slices, recovery, ... I ran into the same problem and solved it using a file lock before starting the dar operation and release after finishing. On starting the GUI you see if the lock is still there and delete the corrupt archive with either showing a message or repeating the action. Does this work for you? You could also use dar -t to test integrity of all archives. Greetings, Stefan 12.07.2023 23:59:46 Siddharth Manthan <[email protected]>: I am attempting to create a gui for dar backup. The gui will cater to people who don't have much idea about backups, basically click backup to backup the data. The backup tasks will run unattended. This means that a user might shut down the pc or there might be a power cut while the backup is running. Since the target computer is unknown it is also not possible to separate the files based on directories. Different users will have different directory structure. How well does dar deal with stuff like this? How can I continue the backup where it left off ?