dietpi-backup hangs Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
beethoven

dietpi-backup hangs

Post by beethoven »

Hi everybody, yesterday I received a notification for version update, suggesting before to run a backup.
I run dietpi-backup, selected a full backup on a nfs share already mounted. Start, a lot of output and process hangs on
/lib/modules/4.9.27+/kernel/drivers/media/rc/redrat3.ko
output stays here forever, I see 3 rsync process active, but none of them on htop as before hanging.
I looked for the exclusions file /DietPi/dietpi/.dietpi-backup-exclude (as documentation tells) but file does not exist as well as the include file, found only a .dietpi-backup-settings with inside the destination mountpoint and type of backup; tried 3 times and always hanging at this file.
Is it normal not to have the exclusions file, do I have to compile it myself putting all files where it hangs or should I find there and some other sources to copy it and paste in the right position?
BY now only way was a CTRL+C, some other fast output about chown and then exit to the blue screen with process failed notice.
Anyone has some other idea or something else to try?
Many thanks for help.
Bye
User avatar
Fourdee
Site Admin
Posts: 2787
Joined: Tue Feb 06, 2007 1:36 pm

Re: dietpi-backup hangs

Post by Fourdee »

beethoven wrote:tried 3 times and always hanging at this file.
Hi,

Most likely one of the following:
- Filesystem corruption on SD (Insufficient PSU/SD used)
- Issue with NFS or the server during transfer of this file.

Try backing up the system to the SD card (/mnt/dietpi-backup), to see if it hangs at the same file:

Code: Select all

dietpi-backup 1 /mnt/dietpi-backup
Also try moving the file:

Code: Select all

mv /lib/modules/4.9.27+/kernel/drivers/media/rc/redrat3.ko /lib/modules/4.9.27+/kernel/drivers/media/rc/redrat3.ko.test
I was unable to replicate here, backup completed on RPi 3:

Code: Select all

sent 1,154,775,166 bytes  received 565,269 bytes  7,886,282.83 bytes/sec
total size is 1,273,807,181  speedup is 1.10
 [Ok] Backup (system) Completed.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
beethoven

Re: dietpi-backup hangs

Post by beethoven »

Hi Fourdee, many thanks for the support. Actually you are right, I tried to save backup as you told me, it arrives perfectly to the end. Just finished now ; might be related to server as you suggested.
Question: destination filesystem must be ext or also FAT or NTFS could be used?
Second option would be to put in a usb key and put backups there, but in this case should I format it as ext2 or ext3 or ext4?

Thank you for your opinion!
User avatar
Fourdee
Site Admin
Posts: 2787
Joined: Tue Feb 06, 2007 1:36 pm

Re: dietpi-backup hangs

Post by Fourdee »

beethoven wrote:Hi Fourdee, many thanks for the support. Actually you are right, I tried to save backup as you told me, it arrives perfectly to the end. Just finished now ; might be related to server as you suggested.
Question: destination filesystem must be ext or also FAT or NTFS could be used?
Second option would be to put in a usb key and put backups there, but in this case should I format it as ext2 or ext3 or ext4?

Thank you for your opinion!
DietPi-Backup requires a Symlink capable filesystem, list:
https://github.com/Fourdee/DietPi/blob/ ... #L334-L339

I'd personally go with EXT4 for backup target media.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
User avatar
WarHawk
Posts: 622
Joined: Thu Jul 20, 2017 8:55 am

Re: dietpi-backup hangs

Post by WarHawk »

And if you try to read in windows try
http://www.ext2fsd.com/?p=219
Post Reply