Backup All from Webconf no longer working

Hello,

The Webconf backup all no longer works.
There are too many files in /zynthian/zynthian-data so the system chokes on it.

Even a reboot fails eventually

Is it possible to move these files to USB stick (or to zynthian-my-data, I already linked that to USB stick)?

Or -if that is not possible- can I exclude certain directories from backup all?

If I re-flash the image I will automatically get all these files back, so why are they in a backup?

Is there a list somewhere of included directories? I would like to add /root to the list as there are a number of files that I value, but not /root/.cache so an exclude mechanism would be helpful.

kind regards,
Hans.

You can get creative with the backup utility, using Advanced options.

It has never really had a solution to lots of big files, and so the separation of config & data is useful.

I tend to start with a config just to see if everything is behaving itself, but that’s more for my benefit than zynthians. The backups tend to simply go into a directory structure on a remote disk, and are rarely touched.

The irony of my browser regarding zip files created on my own machine as suspect and worthy of blocking is both amusing and a tiny bit chilling.

2 Likes

Thanks @wyleu

I checked the advanced options on the Backup/Restore tab, but that had no effect.

I hadn’t noticed that the Configuration and Data Items tabs also had these advanced options.

Enough to get creative with.

Hi @HansR

From your screenshot, this really looks like a hardware (disk) failure !

Regards,

What I actually would love would be an internal backup/restore to connected usb drive. Data backup/restore works perfectly with webconf, but user data including soundfonts is very big and fails often, so the usb solution would be neat.

1 Like

Agreed, but it happened with two different SD cards, so I suspect it’s a hardware failure caused by software.

Hi @hannesmenzel ,

I had the same problem as you. What I have done is move zynthian-my-data completely to USB drive (It’s a very small drive, you hardly see it):

  • I copied everything from zynthian-my-data to my USB drive, including directory structure.

  • Then I created a softlink for zynthian-my-data to the USB drive:

cd /zynthian
mv zynthian-my-data/ zynthian-my-data-OLD/
ln -s "/media/root/ZYNTHIAN" "/zynthian/zynthian-my-data"

where my USB drive is labelled “ZYNTHIAN”

Now I can simply make a backup from my USB drive to a second one. I do this on my Windows machine with robocopy. Takes only a few seconds when there are just a few changes.

Only pitfall:
When the USB drive is removed, Zynthian does not start. You get a sad Daphne Oram picture with a SegFault(1) and ERROR in red.
This is caused by Zynthian not finding it’s last snapshot.
(No such file or directory: '/zynthian/zynthian-my-data/snapshots')

For the rest everything works as normal and just as fast as on SD card.

Kind regards,
Hans.

1 Like

This is a great idea I will definitively consider. I always have my soundfonts mirrored, but I always think twice if I want to re-etch my SD because it always means copying 50 GB soundfonts.