Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Message added by KluthR,

[Plugin] Appdata.Backup

Featured Replies

Curious if backup can be done in multiple archives, like per app. And everything be stored in folder of backup.

This would be nice as a lot off cloud providers have single file limit of 50gb, if this would be separated will be bigger change to rsync them to cloud... Currently my archive is almost 200gb))

  • Replies 2.2k
  • Views 364.9k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Feature freeze I have less and less time for a complete care of this plugin. You already noticed this with the fact, that announced features were not implemented yet. Another reason is, that I will mo

  • The new update is coming It been a while since the last stable update. There were some betas (never got feedback though) but I had other work to do the last weeks. I tested the major changes agai

  • 2023.08.28 should fix the docker auto update issue.

Posted Images

The current plugin does one archive per app... are you still on the old one?

Edited by Kilrah

5 hours ago, J05u said:

Curious if backup can be done in multiple archives, like per app. And everything be stored in folder of backup.

This would be nice as a lot off cloud providers have single file limit of 50gb, if this would be separated will be bigger change to rsync them to cloud... Currently my archive is almost 200gb))

I've been trying this.  The current version of appdata backup will create a seperate tar file for each container's appdata.  It will also backup the container config XML as a separate file.  So for example, for Nextcloud I have:

nextcloud.tar.gz

my-nextcloud.xml

I have similar file pairs for every container.  You'll also have a timestamped flash-backup tar file if you've selected the option to do a flash backup.

 

Word of warning regarding rclone (assume you mean rclone rather than rsync?) to cloud.  As the tar files are subtly different each time you take a backup, every tar file will be uploaded every time you rclone.  The benefits of deduplicating and only synchronising changes is lost.  For me this means approximately 70Gb of upload every time I run the remote copy to cloud. 

 

I've settled on a remote copy to an SMB share on another local machine for now.  What I'd like to see in the future is the ability to backup into separate directories without tar/gzip so that tools like rclone and duplicacy can synchronise only small changed files up to the cloud rather than entire appdata directory tarfiles.

I got an error overnight that I don't understand as the containers are stopped, then backed up :

 

[24.01.2024 04:23:06][][UptimeKuma] tar verification failed! Tar said: tar: Removing leading `/' from member names; mnt/user/appdata/uptimekuma/kuma.db.bak20230205165300: Contents differ
 

Is this simply a verification failed message ? or something more sinister ?

Hey all.

I have a two containers that use an Unassigned Device SSD for their appdata as they're massive. Some have other external volumes mapped also such as the docker socket, media folders and /tmp/. To back up their appdata, I could set "save external volumes" to yes and add the other external volumes to the exclusion list?

 

Just want to make sure this works and I don't wake up after the next backup to find it's backup massive amounts of files I've tried to exclude and nuked my array space. I also don't want to know what would happen if it tries backing up the docker socket path. I ask mainly as paths like that and /tmp/ aren't normally accessible in the provided directory list.

Edited by Avsynthe

On 1/22/2024 at 2:05 PM, Bjur said:

Hi new to this plugin. Have a few questions.

 

1. Is incremental backup available?

2. What is the general consensus on Plex cache etc. folders. Should they be excluded or not?

Anyone?

1 hour ago, Bjur said:

Anyone?

1) No

2) I believe Plex users have specific backup scripts they use that allow specifying the things they want to keep (i.e. would exclude it from AB and use that instead)

On 1/18/2024 at 12:02 PM, KluthR said:

 

Is the volume mapping in question used by another container?

That container doesn't share mappings with anything else, and it doesn't matter if the container is mapped via FUSE or not (I haven't gotten around to setting up exclusive share yet).

 

It's a non-issue at this point, anyway. I just had to let it stop for longer by changing the stop->backup->start behavior

Event: Appdata Backup
Subject: [AppdataBackup] Warning!
Description: Please check the backup log!
Importance: warning

NOT stopping ClamAV because it should be backed up WITHOUT stopping!

How can i set a Exclusion, than he not generated this Warning and send false nervously positives Notifications, Mails and Co.?

The warning can be in the log, but a message or mail is unnecessary because it is correct that it is not stopped.

 

Its correct that ClamAV not stop by Backup, for not interrupted a running Scan Job. The Container was closed automatic after scan and then he can backuped without stopping him.

Edited by Revan335

I would like to restore a few containers, but I don`t see them in list, bbut can see in templates, for example qbittorent.

Checked last 4 backup files and did not find.

image.thumb.png.4aefdaed4c4fdefa4c52a9277fc28587.png

5 hours ago, d3m3zs said:

Checked last 4 backup files and did not find.

Its not excluded ... and have Entry's in the Backup Log?

Edited by Revan335

When are dockers stopped?  I assumed that it was before the backup started so that verifications would be successful.  But, I have handbreak running and I seem to get an error every night related to the current encode.  So it seems to be taking the backup, trying to verify (and failing, obviously, because the current file has changed) and then stopping the dockers and updating them.  I feel like I've got something set wrong.

Also, I have it set to only retain 5 backups but I currently have 27 backups - all but four of them are marked "failed".

 

Hello, 

 

is it possible to start appdata backup manual from an user script? 

I would like to run appdata backup when i plug in an usb drive. 

Of course this drive will be the target for appdata backup. 

 

BR

 

I am wondering what the process is for restoring, say Emby Server?

If I lose the appdata folder on my cache drives and the USB boot drive but I have my successful backups, after I create a replacement USB and install new cache drives and the appdata backup app.

 

Do I go to CA and install the Emby Server container then stop it, run AB restore? I have tried several different ways and I always have to start all over with Emby Server configuration (users/library/etc).

 

Help appreciated

You restore the appdata first then go to the Previous Apps page in CA and select/install those you want back.

Edited by Kilrah

3 hours ago, Kilrah said:

You restore the appdata first then go to the Previous Apps page in CA and select/install those you want back.

Hi! Thanks for the reply. That sounds great except Previous Apps in CA is empty.  Where does CA pull the list for Previous Apps?

installed apps.jpg

previous apps.jpg

8 hours ago, Blaqwolf said:

Where does CA pull the list for Previous Apps?

From your USB drive in config/plugins/dockerMan/templates-user, if you properly restored a backup of that they should be there.

AB also backs the xmls up so you could put them back in there yourself.

Edited by Kilrah

8 hours ago, Kilrah said:

From your USB drive in config/plugins/dockerMan/templates-user, if you properly restored a backup of that they should be there.

AB also backs the xmls up so you could put them back in there yourself.

That is interesting. I removed Diskspeed as a test and when I went to CA Previous Apps it was listed (the only one there at all). So I tested with MakeMKV by removing the container and deleted it from config/plugins/dockerMan/templates-user, now CA Previous still only shows shows Diskspeed and not MakeMKV. I ran AB restore for MKV and it now shows in CA!! Awesome! Not sure why Emby isn't... 

 

Thanks Kilrah, I will do a complete reinstall of Emby and test it out again.

 

Update: damned if I know why but I reinstalled Emby and setup everything, then performed a manual AB, removed Emby docker, then deleted the xml of boot device. Ran AB restore and there Emby was in the CA Previous folder, reinstalled from there and everything works perfect!!

 

Again, thanks for the assist!

 

Edited by Blaqwolf
updqate

Hello,

 

I was wondering if it's possible to have a pre-run backup script per container? I have 3 container that I would like to run a script before they are stopped. I'm using the option to stop, backup, start each container. I see at the bottom there's 4 type of script but are these per container or before/after the global job?

 

Thank you

Hey I'm trying to setup appdata backup and when I run the manual backup to test out my config I'm getting an issue that the destination is unavailable or not writable [see attached picture].

 

I've tried setting the destination to another share that I know I can write to and I get the same error.

 

Any help would be appreciated! Thanks

Screen Shot 2024-02-03 at 5.37.00 PM.png

App data work with direct path not share. So you must put the destination like /mnt/.... And the folder must exist

@Nodiaque that was it! I created the folder at this location and it's working!

/mnt/disk1/backup/appdata_backup

 

thank you

Something I did on my end, because targeting directly a disk could make your backup failed someday. I created a share so I target it in /mnt/user instead. And if your cache is big enough, I made it so it use the cache. With mover tuner, I scheduled the mover to run an hour after the backup (I could also trigger it with a post run backup script). This way, the backup is done very fast on the ssd and then moved to the safe HDD. 

Hi, the backup plugin is great, however I would like to trigger it externally and not use the built-in scheduler.

 

Is this a safe/good way to it?

 

php /usr/local/emhttp/plugins/appdata.backup/scripts/backup.php > /dev/null 2>&1

 

Or is there any better way?

  • Author
35 minutes ago, sir_storealot said:

Is this a safe/good way to it?

Yep, thats ok. 

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.