export dietpi-backup Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
naddel81
Posts: 82
Joined: Sun Jul 21, 2019 12:54 pm

export dietpi-backup

Post by naddel81 »

hi at all,

how to get the backup file to USB? is there a GUI or a file explorer where I can navigate to the folder and copy the file to an attached usb device?

thanks in advance!
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: export dietpi-backup

Post by Joulinar »

Hi,

dietpi-backup is not creating a single file. It will backup the entire system as is, with all files and folders. Easiest would be to select your USB device as backup target. This way the backup folder will be written to the USB device directly. That's how I do backups of my demo systems.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
naddel81
Posts: 82
Joined: Sun Jul 21, 2019 12:54 pm

Re: export dietpi-backup

Post by naddel81 »

thanks for letting me know.
does it have to be fat32 or ext4.

best wishes
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: export dietpi-backup

Post by Joulinar »

It needs to be ext4.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
naddel81
Posts: 82
Joined: Sun Jul 21, 2019 12:54 pm

Re: export dietpi-backup

Post by naddel81 »

thanks for helping me out. I just formatted a fresh usb device (8gb) with mini partition wizard under win 10 and plugged it in. I made it available in my VM (passthrough), but it does not show here:



what can I do now?

best wishes!
Attachments
no location.png
no location.png (8.21 KiB) Viewed 331 times
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: export dietpi-backup

Post by Joulinar »

hi,

you would need to ensure to have your USB disk correctly mapped to the VM and it needs to be visible be running following command

Code: Select all

lsblk -o name,fstype,label,size,ro,type,mountpoint,partuuid,uuid
If it is not visible, you are not able to mount it. in This case, check the VM settings and/or kernel messages

Code: Select all

dmesg -l err,crit,alert,emerg
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
naddel81
Posts: 82
Joined: Sun Jul 21, 2019 12:54 pm

Re: export dietpi-backup

Post by naddel81 »

it is correctly mapped (7.4G)

but how do I use is in dietpi-backup when it does not show up?
Attachments
it is mapped.png
it is mapped.png (21.33 KiB) Viewed 325 times
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: export dietpi-backup

Post by Joulinar »

the drive need to be mounted using Drive Manager first
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
naddel81
Posts: 82
Joined: Sun Jul 21, 2019 12:54 pm

Re: export dietpi-backup

Post by naddel81 »

that did the trick. I thought it would do this automatically, since it was plugged in at start and is USB (plug and play).
I have a backup on that device now. so I can use this to backup my machine once in a while (and restore from the backup device if needed).
it is a 1:1 backup with all the settings in pihole/wireguard etc., right?
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: export dietpi-backup

Post by Joulinar »

yes it is a full 1:1 copy

Yes it is a USB plug and play. However you need to tell the system where to mount to ;)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply