|
From: | qx6uwumzvv |
Subject: | Re: Backups not working after running out of space |
Date: | Fri, 17 Nov 2023 17:42:33 -0800 |
User-agent: | Mozilla Thunderbird |
Your tools/misc/verify_disk_space.sh script is a great idea. I'm going to incorporate it into my backup script(s).
Thanks for adding it and announcing it here. - PeterOn 2023-11-16 23:00, Eric L. ewl+rdiffbackup-at-lavar.de |rdiff-backup-users| wrote:
Hi,too late for Peter's issue, but I created an example on how to avoid the issue (or at least reduce the risk):https://github.com/rdiff-backup/rdiff-backup/pull/947 Review welcome.BTW, check also https://rdiff-backup.net/FAQ.html#how_to_handle_a_no_space_left_on_device_message_while_doing_a_backupKR, Eric On 15.11.2023 20:52, qx6uwumzvv@liamekaens.com wrote:Anyone have any suggestions? If nothing else, is there some way I could remove appropriate files from the rdiff-backup-data directory to get my backups working again? thanks, Peter On 2023-11-13 13:01, Peter Canning wrote:Here's the command I've been using, with -v 6 added, followed by the output it produced:C:\Users\pcanning\rdiff-backup-2.2.2-64\rdiff-backup.exe -v 6 backup --print-statistics `--exclude "H:/Lightroom/Processing Catalog/Backups" `--exclude "H:/Lightroom/Processing Catalog/Processing Catalog Previews.lrdata" ` --exclude "H:/Lightroom/Processing Catalog/Processing Catalog-v12 Previews.lrdata" `"H:/Lightroom/Processing Catalog" `\\nas4free.local\lightroom-catalogs-backups\Lightroom-Processing-Catalog.rdiff-backupC:\Users\pcanning\rdiff-backup-2.2.2-64\rdiff-backup.exe : WARNING: Previous backup seems to have failed, regressing destination nowAt line:1 char:1+ C:\Users\pcanning\rdiff-backup-2.2.2-64\rdiff-backup.exe -v 6 backup ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (WARNING: Previo...destination now:String) [], RemoteException+ FullyQualifiedErrorId : NativeCommandErrorWARNING: Could not find mirror metadata file. Metadata will be read from filesystem instead Fatal Error: No metadata for time Thu Nov 9 02:35:42 2023 (1699526142) found, cannot regress * Using repository '//nas4free.local/lightroom-catalogs-backups/Lightroom-Processing-Catalog.rdiff-backup'* Hardlinks disabled by default on Windows* Unable to import module (py)xattr. Extended attributes not supported on filesystem at path H:/Lightroom/Processing Catalog * Unable to import module posix1e from pylibacl package. POSIX ACLs not supported on filesystem at path H:/Lightroom/Processing Catalog* ----------------------------------------------------------------- Detected abilities for source (read only) file system: Access control lists Off Extended attributes Off Windows access control lists On Case sensitivity Off Escape DOS devices On Escape trailing spaces On Mac OS X style resource forks Off Mac OS X Finder information Off -----------------------------------------------------------------* Directories on file system at path //nas4free.local/lightroom-catalogs-backups/Lightroom-Processing-Catalog.rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0 are not fsyncable. Assuming it's unnecessary. * Unable to import module (py)xattr. Extended attributes not supported on filesystem at path //nas4free.local/lightroom-catalogs-backups/Lightroom-Processing-Catalog.rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0* Unable to import module posix1e from pylibacl package. POSIX ACLs not supported on filesystem at path //nas4free.local/lightroom-catalogs-backups/Lightroom-Processing-Catalog.rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0 * ----------------------------------------------------------------- Detected abilities for destination (read/write) file system: Ownership changing Off Hard linking On fsync() directories Off Directory inc permissions Off High-bit permissions On Symlink permissions Off Extended filenames On Windows reserved filenames On Access control lists Off Extended attributes Off Windows access control lists On Case sensitivity Off Escape DOS devices On Escape trailing spaces On Mac OS X style resource forks Off Mac OS X Finder information Off ----------------------------------------------------------------- * Backup: escape_dos_devices = False * Backup: escape_trailing_spaces = False * Enabled use_compatible_timestamps NOTE: Symbolic links excluded by default on Windows NOTE: Regressing to date/time Thu Nov 9 02:35:42 2023 * Cleaning upOn 2023-11-13 04:57, Patrik Dufresne patrik-at-ikus-soft.com |rdiff-backup-users| wrote:Hello Peter,I apologize for the inconvenience you've experienced in recovering your backup after encountering space issues. Typically, rdiff-backup can handle recovery seamlessly following an increase in disk space. However, it seemsthat the manual changes you made might have caused interference.To assist you more effectively, could you please share the backup commandline you are currently using? Additionally, I recommend executing the command with higher verbosity by adding "-v 6." This will provide more detailed information that can help us pinpoint the issue.In the expected scenario, rdiff-backup should detect the interruption inthe previous backup and initiate a regression of the repository toeliminate any intermediate changes. This process is designed to restore the health of your repository. Subsequently, the backup will resume its normaloperation.Your cooperation in providing the requested information will greatly aid us in resolving this issue promptly. If you have any questions or concerns,please don't hesitate to reach out. Thank you for your understanding and cooperation. Le lun. 13 nov. 2023, à 00 h 12,<qx6uwumzvv@liamekaens.com> a écrit :Using rdiff-backup 2.2.2 on Windows 10 Pro 22H2, I have a scheduled task that runs my system backup PowerShell script at 2 AM every morning. Thescript runs rdiff-backup several times to backup several differentdirectories. A few days ago one of the backups failed because the NAS volume containing targetdir filled up. I took some remedial steps that didn't help, but at this point I don't remember exactly what I did. I doknow that this first thing I tried, not thinking very careful, andrealizing that I had recently created some large files in sourcedir that Ididn't need any more, I deleted those files and tried doing a backuprunning rdiff-backup manually (incorrectly thinking rdiff-backup wouldremove some files from targetdir). Of course since rdiff-backup iscreating incremental backups, and targetdir was still full, that backup failed too. At some point I increased the size of the NAS volume, and here is where my memory is failing me. I probably tried running rdiff-backup manually again. Either then, or shortly thereafter, I started getting "regressing destination" and then rdiff-backup failing whenever I tried to backup or verify, so I attempted to follow the instructions in FAQ item15. I did some other troubleshooting that I don't remember, but the backups are still failing. Now, running "rdiff-backup.exe backup --print-statistics ..." doesn'tprint the expected statistics (so I assume it didn't backup anything) andproduces the following output: C:\Users\pcanning\rdiff-backup-2.2.2-64\rdiff-backup.exe : WARNING: Previous backup seems to have failed, regressing destination now At line:1 char:1+ C:\Users\pcanning\rdiff-backup-2.2.2-64\rdiff-backup.exe backup --pri ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (WARNING: Previo...destinationnow:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandErrorWARNING: Could not find mirror metadata file. Metadata will be read fromfilesystem insteadFatal Error: No metadata for time Thu Nov 9 02:35:42 2023 (1699526142)found, cannot regress NOTE: Symbolic links excluded by default on Windows NOTE: Regressing to date/time Thu Nov 9 02:35:42 2023 Running "rdiff-backup.exe verify ..." produces the following output:C:\Users\pcanning\rdiff-backup-2.2.2-64\rdiff-backup.exe : WARNING: Twodifferent times for current mirror found At line:1 char:1+ C:\Users\pcanning\rdiff-backup-2.2.2-64\rdiff-backup.exe verify \\nas ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (WARNING: Two di...nt mirrorfound:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandErrorWARNING: Could not find mirror metadata file. Metadata will be read fromfilesystem instead WARNING: Mirror metadata not found, reading from directory followed by many lines saying WARNING: Cannot find SHA1 digest for file ..., perhaps because this feature was added in v1.1.1 and ending with the line: NOTE: Verification found 1428 files without hash, all others could be verified successfullyAny suggestions for how to get my backups (and verifies) working again?thanks, Peter
[Prev in Thread] | Current Thread | [Next in Thread] |