[Plugin] Appdata.Backup


Recommended Posts

On 5/14/2023 at 1:53 PM, Nano said:

I reinstalled the plugin, But it's skipping dockers I don't want it to skip now. 

 

[14.05.2023 12:49:01][luckyBackup][info] luckyBackup does not have any volume to back up! Skipping
[14.05.2023 12:49:01][luckyBackup][info] luckyBackup is being ignored, because it was not started before (or should not be started).
 

Yet it clearly /appdata/luckybackup as seen above for example. I have not set it to Skip.

 

I can also see it missing folders or sometimes only selecting certain folders within /appdata/DOCKERNAME/ instead of the whole folder.

 

For example on my Homarr I see : [14.05.2023 12:48:51][Homarr][info] Calculated volumes to back up: /mnt/user/appdata/homarr/icons, /mnt/user/appdata/homarr/configs instead of /appdata/homarr

 

It would be good to have a whole folder backup option again.

Same happens here now.
Doing the same as you did does not work for me and I cant find any reason why it would skip some dockers that clearly has data in their app-folder

Link to comment

Why is the "Pre-run script" not beeing executed before checking the retention of old backups?

I have some "Pre-run script" configured which turns on/off the power of the externals USB drive before backup.

If the "Pre-run script" is not executed at retention checking, the backup jobs fails due to "Destiantion is not availible..."

 

[19.05.2023 13:54:55][Main][info] 👋 WELCOME TO APPDATA.BACKUP!! :D
[19.05.2023 13:54:55][Main][error] Destination is available or not writeable!
[19.05.2023 13:54:55][Main][info] Checking retention...
[19.05.2023 13:54:55][Main][info] Executing script /mnt/disk2/fritzcontrol_off.sh...
[19.05.2023 13:55:37][Main][info] Script executed!
[19.05.2023 13:55:37][Main][info] DONE! Thanks for using this plugin and have a safe day ;)
[19.05.2023 13:55:37][Main][info] ❤️

 

ab.debug (2).log

Link to comment

Not sure if this has been mentioned, this is an observation, but the settings for schedulling are confusing e.g.

 

If I set daily for "Scheduled Backup Frequency" I can still set "Day of Week"? Same goes for Month...

 

Then if I use Cron I thought this would overrides everything but I can still change those settings... I think it would be good for some feedback to show what it's actually taken as the setting.. or have the menu adapt / grey out options depending on what is selected under Backup Frequency... e..g if Custom is taken only Cron isn't grey'd out.. etc...

 

I didn't realise my Cron wasn't being used until this morning when I say the schedule backup setting was on "Daily".

 

Thanks

 

Craig

 

Link to comment
1 hour ago, craig_read said:

If I set daily for "Scheduled Backup Frequency" I can still set "Day of Week"? Same goes for Month...

Yea, thats a UI bug.

 

1 hour ago, craig_read said:

Then if I use Cron I thought this would overrides everything but I can still change those settings..

Same reason.

 

I will fix that as well soon.

Link to comment
  • 2 weeks later...

Sorry quick question.. my cache drive failed and I am trying to restore from backups... I have a few docker containers and I'd like them to come back.. I've ran the restore function.. against a backup I did a few days ago.. and that completed successfully.. but the docker containers are still not appearing... am I doing something silly?

 

Bit of a noob question I suppose but I know there is something simple I'm just not doing...

 

Thanks

 

Craig

 

EDIT; I've figured it out, I needed to restore the containers from their templates, which I've done.. all fully restored.. nice app!  Thanks!

Edited by craig_read
Link to comment

Would it be possible to add an option to pass gzip arguments such as --rsyncable (for smaller rsync deltas)? I'm guessing using something like the following for tar:

-I 'gzip ARGS'

 

Can probably achieve this with a post-script anyway, but would be nice to have this integrated.

Link to comment

First of, thank you for your hard work. Was wondering if I could have some help please? When I run the backup, everything gets backed up apart from binhex-plexpass? watching the backup logs as backing up. It says binhex-plexpass does not have any volume to backup! Skipping?

I have everything default from installing plugin, apart choosing Backup destination

Link to comment
10 hours ago, Apollopayne35 said:

First of, thank you for your hard work. Was wondering if I could have some help please? When I run the backup, everything gets backed up apart from binhex-plexpass? watching the backup logs as backing up. It says binhex-plexpass does not have any volume to backup! Skipping?

I have everything default from installing plugin, apart choosing Backup destination

I think the plugin ignores any volumes mapped outside of /mnt/user/appdata, so if your plex volume is mounted somewhere else, this may be why?

Link to comment

Hi.

 

At the end of a backup all the files have root:root ownership and permissions of rw-r----- (640).

Is this intended as it makes them unreadable to my backup system?

 

I assumeI can fix this with a post run script, but wanted to check if that's the right approach.

 

Thanks

Link to comment

I just upgraded to Unraid v 6.12.0 and I got this plugin from the Apps tab. When I tried to do my backup I got an error:

[15.06.2023 03:22:54][Main][warning] An error occurred during backup! RETENTION WILL NOT BE CHECKED! Please review the log. If you need further assistance, ask in the support forum.

and my folder is titled ab_20230615_025310-failed, so it will not let me restore from that folder.

Attached is my log.

 

Any idea what is happening? The 2.5 CA backup plugin was working in the previous version of Unraid 6.11.5

 

 

Edit: I had rebooted my server for something and tried the backup again and this time it worked. Not sure what happened, but I'll leave this here anyway.

ab.debug.log ab.log

succes-ab.debug (1).log

Edited by muffinman1604
Link to comment

Hello,

I am wondering wether I have the plugin configured wrong.

 

This is what my source and destination look like.

grafik.thumb.png.68a899126675840871605ef2f7746fa3.png

 

Everything else I have left pretty much as it was by default.

 

Now, after I run the manual backup once I feel like there should be a tar.gz file for each docker container, am I wrong here? I can only see two compressed files.

 

grafik.png.77532a3fc776d405f3e48c160bc9096c.png

 

This is the log file of the manual backup:

[15.06.2023 20:15:05][Main][info] 👋 WELCOME TO APPDATA.BACKUP!! :D
[15.06.2023 20:15:05][Main][info] Backing up to: /mnt/user/backup/ab_20230615_201505
[15.06.2023 20:15:05][Main][info] Saving container XML files...
[15.06.2023 20:15:05][Main][info] Method: Stop/Backup/Start
[15.06.2023 20:15:05][Adminer][info] No stopping needed for Adminer: Not started!
[15.06.2023 20:15:05][Adminer][info] Should NOT backup external volumes, sanitizing them...
[15.06.2023 20:15:05][Adminer][info] Adminer does not have any volume to back up! Skipping
[15.06.2023 20:15:05][Adminer][info] Adminer is being ignored, because it was not started before (or should not be started).
[15.06.2023 20:15:05][jDownloader2][info] No stopping needed for jDownloader2: Not started!
[15.06.2023 20:15:05][jDownloader2][info] Should NOT backup external volumes, sanitizing them...
[15.06.2023 20:15:05][jDownloader2][info] jDownloader2 does not have any volume to back up! Skipping
[15.06.2023 20:15:05][jDownloader2][info] jDownloader2 is being ignored, because it was not started before (or should not be started).
[15.06.2023 20:15:05][Jellyfin][info] Stopping Jellyfin... 
[15.06.2023 20:15:05][Jellyfin][info] done! (took 0 seconds)
[15.06.2023 20:15:05][Jellyfin][info] Should NOT backup external volumes, sanitizing them...
[15.06.2023 20:15:05][Jellyfin][info] Jellyfin does not have any volume to back up! Skipping
[15.06.2023 20:15:05][Jellyfin][info] Starting Jellyfin... (try #1)
[15.06.2023 20:15:07][MariaDB][info] Stopping MariaDB... 
[15.06.2023 20:15:08][MariaDB][info] done! (took 1 seconds)
[15.06.2023 20:15:08][MariaDB][info] Should NOT backup external volumes, sanitizing them...
[15.06.2023 20:15:08][MariaDB][info] MariaDB does not have any volume to back up! Skipping
[15.06.2023 20:15:08][MariaDB][info] Starting MariaDB... (try #1)
[15.06.2023 20:15:10][nextcloud][info] Stopping nextcloud... 
[15.06.2023 20:15:15][nextcloud][info] done! (took 5 seconds)
[15.06.2023 20:15:15][nextcloud][info] Should NOT backup external volumes, sanitizing them...
[15.06.2023 20:15:15][nextcloud][info] nextcloud does not have any volume to back up! Skipping
[15.06.2023 20:15:15][nextcloud][info] Starting nextcloud... (try #1)
[15.06.2023 20:15:17][SWAG][info] Stopping SWAG... 
[15.06.2023 20:15:21][SWAG][info] done! (took 4 seconds)
[15.06.2023 20:15:21][SWAG][info] Should NOT backup external volumes, sanitizing them...
[15.06.2023 20:15:21][SWAG][info] Calculated volumes to back up: /mnt/user/appdata/swag
[15.06.2023 20:15:21][SWAG][info] Backing up SWAG...
[15.06.2023 20:15:22][SWAG][info] Backup created without issues
[15.06.2023 20:15:22][SWAG][info] Verifying backup...
[15.06.2023 20:15:23][SWAG][info] Starting SWAG... (try #1)
[15.06.2023 20:15:25][tinyMediaManager][info] No stopping needed for tinyMediaManager: Not started!
[15.06.2023 20:15:25][tinyMediaManager][info] Should NOT backup external volumes, sanitizing them...
[15.06.2023 20:15:25][tinyMediaManager][info] tinyMediaManager does not have any volume to back up! Skipping
[15.06.2023 20:15:25][tinyMediaManager][info] tinyMediaManager is being ignored, because it was not started before (or should not be started).
[15.06.2023 20:15:25][vaultwarden][info] Stopping vaultwarden... 
[15.06.2023 20:15:25][vaultwarden][info] done! (took 0 seconds)
[15.06.2023 20:15:25][vaultwarden][info] Should NOT backup external volumes, sanitizing them...
[15.06.2023 20:15:25][vaultwarden][info] vaultwarden does not have any volume to back up! Skipping
[15.06.2023 20:15:25][vaultwarden][info] Starting vaultwarden... (try #1)
[15.06.2023 20:15:28][VideoDuplicateFinder][info] No stopping needed for VideoDuplicateFinder: Not started!
[15.06.2023 20:15:28][VideoDuplicateFinder][info] Should NOT backup external volumes, sanitizing them...
[15.06.2023 20:15:28][VideoDuplicateFinder][info] Calculated volumes to back up: /mnt/user/appdata/VideoDuplicateFinder
[15.06.2023 20:15:28][VideoDuplicateFinder][info] Backing up VideoDuplicateFinder...
[15.06.2023 20:15:28][VideoDuplicateFinder][info] Backup created without issues
[15.06.2023 20:15:28][VideoDuplicateFinder][info] Verifying backup...
[15.06.2023 20:15:28][VideoDuplicateFinder][info] VideoDuplicateFinder is being ignored, because it was not started before (or should not be started).
[15.06.2023 20:15:28][Main][info] Checking retention...
[15.06.2023 20:15:28][Main][info] DONE! Thanks for using this plugin and have a safe day ;)
[15.06.2023 20:15:28][Main][info] ❤️

 

Link to comment
19 hours ago, muffinman1604 said:

I just upgraded to Unraid v 6.12.0 and I got this plugin from the Apps tab. When I tried to do my backup I got an error:

[15.06.2023 03:22:54][Main][warning] An error occurred during backup! RETENTION WILL NOT BE CHECKED! Please review the log. If you need further assistance, ask in the support forum.

and my folder is titled ab_20230615_025310-failed, so it will not let me restore from that folder.

Attached is my log.

 

Any idea what is happening? The 2.5 CA backup plugin was working in the previous version of Unraid 6.11.5

 

 

Edit: I had rebooted my server for something and tried the backup again and this time it worked. Not sure what happened, but I'll leave this here anyway.

ab.debug.log 88.76 kB · 0 downloads ab.log 17.62 kB · 0 downloads

succes-ab.debug (1).log 89.37 kB · 0 downloads

 

Well, I tried restoring and it is not working with the successful backup. 

 

Restore is treating the tar as a gzip file 

ab.debug-failed-restore.log

Edited by muffinman1604
Link to comment

upgraded to 6.12, got the warning that i needed to install appdata backup. did so, it found my ca backup2 and asked to migrate which pulled over most things.

 

i noticed it did NOT pull over my exclude list which is:

 

.kodi-novnc/.kodi/userdata/Thumbnails,/mnt/cache/appdata/mariadb-10.6/

 

Which i assume is understandable since now users would be expected to put said exclusions on each container where it made sense and what not. But would prob be good to note this in the migrate blurp that it doesn't handle this.

 

 

which i guess its not clear now, so in the container where you can exclude.. 

previously the exclude list operated from the parent folder of the appdata folder, so exclude was: .kodi-novnc/.kodi/userdata/Thumbnails

 

but with this app, does the exclude path get constructed from the container root folder or none.?

 

as now my kodi container base is:

/mnt/cache/appdata/.kodi-novnc

 

so would I have to do:

/mnt/cache/appdata/.kodi-novnc/.kodi/userdata/Thumbnails

or:

.kodi/userdata/Thumbnails

or:

Thumbnails

 

 

 

Edited by zoggy
  • Like 1
Link to comment

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.