[Plugin] CA Appdata Backup / Restore v2


Squid

863 posts in this topic Last Reply

Recommended Posts

  • Replies 862
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

CA Appdata Backup / Restore (v2)   Due to some fundamental problems with XFS / BTRFS, the original version of Appdata Backup / Restore became unworkable and caused lockups for many users.  D

Feature request: Instead of one giant tarball, could this app use separate tarballs for each folder in appdata? That way it would be much easier to restore a specific app's data (manually) or even pul

I would rather automate backups to a local network share rather than unraid.net. I doubt I'll even install the unraid.net plugin as I already have remote access set up to my satisfaction. Disappointed

Posted Images

On 3/13/2021 at 11:52 AM, Squid said:

This feature will not actually get removed, because there are still use cases for it, but no coding improvements etc will ever happen to this feature.

 

Keeping it but otherwise classifying it as abandonware is what the concerns are about.

Link to post

This is a great plugin and everything works perfectly! Recently I turned on the compression and I see that gzip would only use 1 thread to compress files and it takes so long to compress a 40GB ish database file. Any plans for adding multithreaded compression to the plugin or maybe adding zstd option for faster compression speed and better ratio?

 

Also what would the best way so far to backup sql server 2019 dockers with 200GB+ database files (.mdf and .bak) in appdata folder?  

Edited by aarontry
Link to post

I just upgraded UnRaid from 6.9.0 to 6.9.1, and then went to update all the plugins, and it's stalling on this one. Is there something I could have done wrong? It know CA Appdata Backup v2 was working properly before the upgrade.

2021-03-19 19_53_35-Komodo_Plugins.png

Link to post

hi, i'm facing the problem that some dockers do not turn on again after the backup. every monday morning, after my sunday night backup,  i see that "binhex-jacket" and "binhexx-radarr" are turned off. how can i find out what is causing this? thanks!

Link to post
On 1/12/2021 at 3:36 AM, Gunny said:

The Exclude Folders option does not seem to be working for me.  I'm trying to exclude some subfolders in one of my docker container's appdata area (Plex for reference).  I've tried both absolute paths and relative paths.
Relative:


Plex-Media-Server/Library/Application Support/Plex Media Server/Cache/ ,Plex-Media-Server/Library/Application Support/Plex Media Server/Media/ ,Plex-Media-Server/Library/Application Support/Plex Media Server/Metadata/

Absolute:


/mnt/cache/appdata/Plex-Media-Server/Library/Application Support/Plex Media Server/Cache/ ,/mnt/cache/appdata/Plex-Media-Server/Library/Application Support/Plex Media Server/Media/ ,/mnt/cache/appdata/Plex-Media-Server/Library/Application Support/Plex Media Server/Metadata/


 


I’m having a near identical issue, did you ever sort this? I cannot work out how the exclude system works.

Link to post
On 3/23/2021 at 12:00 AM, Dimtar said:


I’m having a near identical issue, did you ever sort this? I cannot work out how the exclude system works.

My Excluded Folders entry is this, working fine:

 

/mnt/cache/.appdata/Plex/Library/Application Support/Plex Media Server/Media/,/mnt/cache/.appdata/Plex/Library/Application Support/Plex Media Server/Metadata/

 

Obviously change the "/mnt/cache/.appdata" part to wherever you keep yours.

Link to post

Hi, require some assistance as I am a dumbass and recently formatted both my cache drive due to when I start the array, it says they were not a mountable drive partition. I did run the backup/ restore 3 times the day before and they all were successful. However now that I've formatted and when I tried restoring the app data, it shows this and exit, tried unzipping it via window's winrar however also got roughly the same thing that the zip is corrupted and this happens on all 3 backups that I have. Is there any way I could get it properly working?

Capture.PNG

Link to post

Quick question, is there any way to do a selective restore? Typically I have an issue with just one docker app and I end up just manually opening backup file, extracting, and replacing the app folder.

 

If not, would it be possible to add this? Maybe have the plugin compress each app folder individually and then combine them into one zip.

Link to post

Is it possible to backup multiple source locations?

I have a dedicated ssd for my Plex appdata and the appdata for everything else on the cache and want to back up both. 

I tried separating the locations with a comma but that doesn't seem to work.

Link to post

So its advised not to use this anymore for a flash backup.... but how exactly does one restore all the docker images without a flash backup?  Arent all the Docker templates stored on the flash drive?

Also, just to confirm, even if you had a flash backup, with all your unraid templates, You would still need to manually reinstall/rerun all those templates and this app does not actually backup any docker container files correct?  Like for example, I edit a couple files in my jellyfins docker container, to customize the app.......but thats not backed up is it?  Just the jellyfin app data folder is backed up, and if I had the template backed up and re-added the jellyfin docker from my template, its just gonna pull fresh files from the repository and my modified container files will be lost right?

Link to post
14 hours ago, 007craft said:

So its advised not to use this anymore for a flash backup.... but how exactly does one restore all the docker images without a flash backup?  Arent all the Docker templates stored on the flash drive?

It's recommended to use the unraid.net plugin to handle the flash backup (even if you don't use the remote access features)

14 hours ago, 007craft said:

You would still need to manually reinstall/rerun all those templates and this app does not actually backup any docker container files correct?  Like for example, I edit a couple files in my jellyfins docker container, to customize the app.......but thats not backed up is it? 

All the templates are stored on the flashdrive and are included in the backup.

 

Depends what you're doing to customize the container.  If you're actually changing files within the container (ie: docker exec...), then yes that's not backed up and if you ever update the container you will have to re-apply those changes.  If you are making the changes within the /config (appdata) path, then that is backed up via the appdata backup portion of the plugin.

Link to post
On 3/22/2021 at 2:53 PM, likesboc said:

hi, i'm facing the problem that some dockers do not turn on again after the backup. every monday morning, after my sunday night backup,  i see that "binhex-jacket" and "binhexx-radarr" are turned off. how can i find out what is causing this? thanks!

 

I'm having the same problem but with pihole/pihole container. Does anyone found a solution?

 

I have 11 containers running and only have problems with that one.

Link to post
On 3/31/2021 at 12:59 PM, bobbintb said:

Quick question, is there any way to do a selective restore? Typically I have an issue with just one docker app and I end up just manually opening backup file, extracting, and replacing the app folder.

 

If not, would it be possible to add this? Maybe have the plugin compress each app folder individually and then combine them into one zip.

I would love to see this added as well. 

Link to post
On 3/22/2021 at 6:53 PM, likesboc said:

hi, i'm facing the problem that some dockers do not turn on again after the backup. every monday morning, after my sunday night backup,  i see that "binhex-jacket" and "binhexx-radarr" are turned off. how can i find out what is causing this? thanks!

Having the same issue here. Backup is stuck on "Verifying" since i did update to UNRAID 6.9.2.

Had to start my containers manually, backup is still stuck...

Link to post
On 4/4/2021 at 5:43 AM, shiftylilbastrd said:

Is it possible to backup multiple source locations?

I have a dedicated ssd for my Plex appdata and the appdata for everything else on the cache and want to back up both. 

I tried separating the locations with a comma but that doesn't seem to work.

I have exactly the same setup. Would love to know how to backup both.

Link to post
4 hours ago, maikash said:

I have exactly the same setup. Would love to know how to backup both.

If you setup multiple pools, you can have some appdata on one pool and other appdata on another pool. The specific containers would map a path to appdata on a pool instead of appdata user share. Then you could backup appdata user share and it would get appdata from all pools.

Link to post
8 minutes ago, trurl said:

If you setup multiple pools, you can have some appdata on one pool and other appdata on another pool. The specific containers would map a path to appdata on a pool instead of appdata user share. Then you could backup appdata user share and it would get appdata from all pools.

I already have two pools. There’s a Plex share set to use cache2 only and then another share for all other appdata and set to cache1 only. 
 

Are you saying instead of mapping to /user/Plex use /disks/cache2?

I would still need to be able to map two paths to back up both. 

Link to post
21 hours ago, shiftylilbastrd said:

/disks/cache2

This seems like the path to an Unassigned Device. I mean multiple pools as provided by Unraid 6.9+

 

Since all pools are part of user shares, you can just backup the user share path to appdata and get all appdata from all pools.

Link to post
48 minutes ago, trurl said:

This seems like the path to an Unassigned Device. I mean multiple pools as provided by Unraid 6.9+

 

Since all pools are part of user shares, you can just backup the user share path to appdata and get all appdata from all pools.

See my current setup in attached pics

Plex appdata on one pool, everything else on the other. Can only specify one source for backup. 
 

Scenarios

Two pools of one drive each

If I only use one share for all appdata I can only specify one pool to send it to


One pool of two drives 

All appdata is distributed between the two drives

 

Neither case allows me to dedicate one drive to Plex only. If I’m wrong please help me understand what I’m missing here. 

 

 

3398DD64-65BE-43A3-910C-0AB06776C809.jpeg

156C480D-F260-45A1-9E88-3AF9AD667AD4.jpeg

Link to post

  

2 hours ago, shiftylilbastrd said:

Plex appdata on one pool, everything else on the other. Can only specify one source for backup. 

 

According to your screenshots, appdata and Plex share are both using the docker pool. You have another pool named cache which is not being used for this.

 

What I was suggesting is more like what you said you were doing, which is using one pool for plex appdata, and using the other pool for other appdata.

 

You could put plex appdata on docker pool, and other appdata on cache pool.

 

plex appdata would be at /mnt/docker/appdata, other appdata would be at /mnt/cache/appdata.

 

All appdata would be at /mnt/user/appdata, and you could backup all of it using that path.

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.