Jump to content
Squid

[Plugin] CA Appdata Backup / Restore v2

302 posts in this topic Last Reply

Recommended Posts

It's not going to be exact. Mine will run on every 3rd day of the month. Yours will run on every 3rd day of the week. Either way you'll have some misses when the week/month changes.

Share this post


Link to post

I understand, but it will still be more frequent than one a week and I don't want a daily/bi-daily backup so this should be perfect! 

 

Thank you for all yor help! ?

 

 

Share this post


Link to post

The plugin stopped to backup: It's running, but no backup data is created.

The backup is scheduled for Sunday morning, and the last backup folder is of August 19th

I had (and still having) severe problems with my array, but I don't understand how these two problems are linked.

Attached a syslog of a backup that I initiated manually today while the array was up and running OK.

CABackup.20180831.txt

Edited by Gico

Share this post


Link to post

Not sure.  Maybe post your diagnostics during the same period a backup attempted to occur

Share this post


Link to post

Apparently there was some kind of a problems with the destination folder of the backup. I couldn't update/write to that user share myself.

i'm not sure if it was an FS problem (xfs_repair was clean), or a permission problem (why would it be out of the blue?).

The destination share had a copy of Plex data (22GB, 570K folders, 470K files),

so I suspect it caused this error and some others.

newperms either halted or I didn't have enough patience to wait for it to end.

 

so I recreated the share, moved away the Plex folder, and everything is ok now.

Share this post


Link to post

How can I migrate my settings from v1 to v2?

 

When I look at v1, all I get is the Miscellaneous section, and all I can do is three different kinds of delete. That can't be right. I don't see any settings beyond that, so not only can't I see a way to migrate, I also can't take a screenshot of my existing settings so I can recreate them.

 

Any ideas?

Share this post


Link to post

You could always look on the flash drive

 

/config/plugins/ca.backup/BackupOptions.json

Share this post


Link to post

How important is it that containers be stopped in order to perform a backup? I have misc issues with containers either not coming back up after being shut down or files getting corrupted (Tautulli) upon shutdown/startup. So if possible, I'd like to not stop containers if I don't have to. 


Will certain files get skipped if they're in use or something? 

Share this post


Link to post

The share selection dropdown menus are unreadable when display setting is set to Black theme.

I had to switch to a different theme in order to configure my backup.

 

Edit before posting: The same issue is present with Unassigned Devices Plugin's "Add ISO File Share" popup. Probably a general theme related bug?

Edited by UNOPARATOR
wrong plugin name

Share this post


Link to post

The plugin seems to ignore the defined docker startup sequence and waiting times of unRaid 6.6's new docker administration utility. Instead it starts the containers in alphabetical order and therefore starts some of my containers before the databases witch they depend on. 

Edited by Diggewuff

Share this post


Link to post
2 minutes ago, Diggewuff said:

The plugin seems to ignore the defined docker startup sequence and waiting times of unRaid 6.6's new docker administration utility. Instead it starts the containers in alphabetical order and therefore starts some of my containers before the databases witch they depend on. 

k  I'll add to a todo list

Share this post


Link to post
9 minutes ago, Squid said:

k  I'll add to a todo list

Great, I'll wait for your update. Thanks a lot for your work on that.

Share this post


Link to post

First of all, thank you for another great & must have plugin. 👍

 

Suggestion: A history view of each backup's time to complete in Status or Restore (or maybe a new) tab would be nice.

Share this post


Link to post

Hi could I get some help with restoring a backup on another machine.


I restored the appdata back up which was around 26gb rebooted server, but when I go to docker all the templates are empty. The appdata was not originally on cache drive but now are so do I need manually change something for docker to know where to look for the appdata?

 

/mnt/user/appdata/ (CACHE ONLY)

1815134174_Screenshot2018-10-2713_40_17.thumb.png.71e3e07e2f88cfc185069b6a7489a179.png

Edited by bally12345

Share this post


Link to post
8 minutes ago, bally12345 said:

Hi could I get some help with restoring a backup on another machine.


I restored the appdata back up which was around 26gb rebooted server, but when I go to docker all the templates are empty. The appdata was not originally on cache drive but now are so do I need manually change something for docker to know where to look for the appdata?

 

/mnt/user/appdata/ (CACHE ONLY)

 

The templates are on the flash drive. How did you lose them?

Share this post


Link to post

Ahh ok, created a new flash drive and only copied over plugins folder. Migrating 2 old machines to 1 new one and only copy over the plugins folder from 1 machine, will copy the other machines folder to the flash drive and see if that solves it

Share this post


Link to post

If you want to keep your configuration when you create a new flash, you should copy the whole /config folder from the old flash. It has your disk assignments, share settings, docker templates, plugins, ...

 

And be sure to backup your flash when you make any changes to your configuration, especially when you do anything to change disk assignments. You can always download a zipped copy of flash from Main - Boot Device - Flash - Flash Backup.

Share this post


Link to post
4 minutes ago, trurl said:

If you want to keep your configuration when you create a new flash, you should copy the whole /config folder from the old flash. It has your disk assignments, share settings, docker templates, plugins, ...

 

And be sure to backup your flash when you make any changes to your configuration, especially when you do anything to change disk assignments. You can always download a zipped copy of flash from Main - Boot Device - Flash - Flash Backup.

The Issue I had, I had 1 machine with my disk shares and all the data, 2nd machine purely to run docker so there would be 2 configs and 2 sets of plugin folders etc

 

Everything is working just need to copy of the templates. Would I need to copy the plugins and docker.cfg?

Edited by bally12345

Share this post


Link to post

That worked, copied over using MC and templates now showing, will need to manually update all the mappings and fingers crossed everythings works.

Share this post


Link to post

Noticed that this plugin's text/font is set differently than anywhere else in the unraid webui:

 

Regular Menu:

292132637_RegularMenu.thumb.png.3ae23df4e9cdd1ed12f1da61d1d7458d.png

 

Backup Menu (Settings):

1916956101_BackupMenu.thumb.png.2bb8d5c0159e68fab2712b24864de7f1.png

Edited by cybrnook

Share this post


Link to post
3 minutes ago, cybrnook said:

Noticed that this plugin's text/font is set differently than anywhere else in the unraiod webui:

 

lol  k.  Low priority for me ( it took me ~2 hours prior to the release of 6.6 to find where CA caused the same thing on the footer - wasn't the most enjoyable experience of my life ;) )

Share this post


Link to post

just wondering, if there is a way to exclude a specific container from not getting shutdown,

 

e.g. pi.hole

 

so it does not knock out the dns requests during the duration of the backup, I dont really need pi.hole backed up anyway

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.