[Plugin] CA Appdata Backup / Restore v2


Squid

842 posts in this topic Last Reply

Recommended Posts

Then not quite sure.  Deleting old sets happens after a successful backup.  But, if the appdata share got recreated (reboot to try and see what was going on), and in the interim another backup happened, then basically a blank txz would get created, but that doesn't explain why there's nothing in there.  🤔

Link to post
  • Replies 841
  • 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

1 hour ago, L0rdRaiden said:

How can I use it to backup only the flash drive? Unraid OS

You can't.  Flash backup was added on a whim, and will been deprecated soon(tm)

Link to post
  • 2 weeks later...

My flashdrive doesn't seem to get backed up, or perhaps I don't understand how it works. Is it just the super.dat.CA_BACKUP file that gets created? It's only 4kb in size...

 

I have appdata backup schedule weekly on Sundays, but most the files in the backup folder were last modified January 29. 

Link to post
1 minute ago, Commerzpunk said:

i installed this. But how can i use it? I dont find a menu, or a settings part for it?

If you do not have Backup/Restore Appdata in the User Utilities area under Settings, then it did not install properly.

Link to post
12 hours ago, Squid said:

Is there a destination set for the Flash backup?

Yes there's a destination set and it's adjacent to the appdata and libvirt backup folders. I should mention the Unraid USB key that was in use when I setup CA B+R (last year), failed the day before the last successful backup. Seems a weird coincidence, but I think the current backup is of the replacement USB key. Perhaps I just need to remove the app and reinstall? I didn't want to do that incase it messed up anything though. 

 

I noticed above you said the flash backup will be deprecated? Maybe I should be looking for another solution to backup flash if this is the case. If so, any recommendations?

Link to post

A feature request-

Instead of adding the entire appdata directory to a single .tar, It would be nice to have the option of backing up each top-level folder under appdata as its own .tar.


That way- if I ever say, need to pull a specific file from a specific folder, I don't have to first download the ENTIRE 50+ GB compressed tarball, and extract it.

Link to post
On 2/18/2021 at 5:45 PM, Squid said:

You can't.  Flash backup was added on a whim, and will been deprecated soon(tm)

I saw you had posted previously that LT would be handling flash backup in 6.9. I have updated to 6.9 but not seeing where to configure this?

Link to post

Is it possible to just restore just one subdirectory of appdata?  I am having issues with one docker and want to restore.  My backup is a tar file that is 39.4 GB.  Can I extract just the appdate\unifi folder?  If so, how would I do this?

Link to post
Is it possible to just restore just one subdirectory of appdata?  I am having issues with one docker and want to restore.  My backup is a tar file that is 39.4 GB.  Can I extract just the appdate\unifi folder?  If so, how would I do this?

Yes, using tar from the command line.
Here’s an example:
https://www.linux.org/threads/list-tar-contents-only-first-level-then-subdirectory-extract.10491/


Sent from my iPhone using Tapatalk
Link to post

Hey Squid, I had an issue this week during my scheduled backups, it got stuck in "verifying" for 3 hours before I hit abort, then it contained to check for updates and start containers. 

 

Is there any logs I can pull to find out what happened?

Link to post
14 hours ago, wgstarks said:

I saw you had posted previously that LT would be handling flash backup in 6.9. I have updated to 6.9 but not seeing where to configure this?

Soon(tm) - Although this particular Soon(tm) has been happening since Dec 6, 2017

Link to post
5 minutes ago, CorneliousJD said:

Is there any logs I can pull to find out what happened?

The syslog shows the command being used on the backup and verify

Link to post
15 hours ago, Squid said:

The syslog shows the command being used on the backup and verify

 

Hmm, I re-ran another manual backup and it took almost 4 hours to do the backup, I understand that verify will take just as long to check it as well?

 

What's odd is the entire process (Backup and verify) up until now has taken about 2-3 hours total for everything. I have not added a significant amount of data or anything since last week (backups run on Sundays at 3AM)

 

Any advice on what I can look into here to make this go faster? 8 hours of downtime is a lot.

 

EDIT: actually the one thing I did do, is change my cache to the 1MiB partition, since they're Samsung EVO drives and were affected by the excessively high write amounts.

Edited by CorneliousJD
Link to post

Is there any danger/possibility that this would damage dockers? I updated my mariadb docker yesterday and somehow managed to corrupt the database (probably because another docker was still accessing it). Now I'm very cautious as to automatically shutting own dockers.

Link to post
10 minutes ago, benediktleb said:

Is there any danger/possibility that this would damage dockers?

I would think that it's unlikely

Link to post
On 3/7/2021 at 7:14 AM, Squid said:

Soon(tm) - Although this particular Soon(tm) has been happening since Dec 6, 2017

FINALLY!

Link to post

USB Flash Drive backup is now deprecated in favour of one of the features (automatic backup of the flash device) present within the Unraid.net plugin when running on Unraid 6.9+

 

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.

 

https://forums.unraid.net/topic/104018-my-servers-early-access-plugin/

 

Link to post
13 hours ago, Squid said:

USB Flash Drive backup is now deprecated in favour of one of the features (automatic backup of the flash device) present within the Unraid.net plugin when running on Unraid 6.9+

 

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.

 

https://forums.unraid.net/topic/104018-my-servers-early-access-plugin/

 

 

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 to hear that this plugin's auto-backup for flash will be deprecated in favor of a cloud solution.

Link to post
17 hours ago, Squid said:

USB Flash Drive backup is now deprecated in favour of one of the features (automatic backup of the flash device) present within the Unraid.net plugin when running on Unraid 6.9+

 

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.

 

https://forums.unraid.net/topic/104018-my-servers-early-access-plugin/

 

 
The USB Flash Drive backup lets us keep more control over our backups. Deprecating this in favor of a method that only backups to the cloud is a mistake in my opinion. Would you do the same with appdata if unRaid added an option to backup appdata to their servers? This isn't even accounting for the fact that the backups made by unRaid aren't encrypted currently.

I ask you to please reconsider this stance, maintaining the ability to create controlled backups of flash is important.

Edited by Ryonez
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.