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.

[Plugin] CA Appdata Backup / Restore v2

Featured Replies

So I did run this and had the flash backup location as an location in Nextcloud, and now I cant move any file in that folder in Nextcloud?

 

I just copied everything to a new one but still, that shouldnt happen, maybe it was a bad idea to do that.

Edited by Mihle

  • Replies 1.4k
  • Views 370.9k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • In a nutshell, GitHub is a piece of shit.  (If some one can come up with a better term that has all of the same connotations then please let me know)   A change has been now implemented in t

  • As of last night, on 6.10.3, fix common problems is alerting me that: The plugin ca.backup2.plg is not known to Community Applications and is possibly incompatible with your server. What's chang

  • This plugin has now been forked by @KluthR and the original version by myself has been deprecated.   I'd suggest to uninstall my version and then reinstall the fork.   NOTE: 

Posted Images

  • Author

You shouldn't use any folder that has (or potentially has) other files in it as per the warnings.  Set up a new folder and add that location to nextcloud

8 hours ago, Squid said:

You shouldn't use any folder that has (or potentially has) other files in it as per the warnings.  Set up a new folder and add that location to nextcloud

I imagined that was only for the appdata but guess not.

Tried to make a new share for it and put it as external storage, but Nextcloud can not see the the contents of it or sync it to my desktop (because that is what I want and is trying to do)

Hello,

 

I creats 2 pool Devices  :

  • 1 for cache  (SSD)
  • 1 for appdata/domains/etc... (NVME)

 

The pool who contains appdata and co is name "Apps" and is accessible via /mnt/apps

 

when i try to backup the whole pool in CA Backup/Restore and have /mnt/apps in Appdata Share (Source):

i get :  "Source cannot be /mnt/user or /mnt/disk"

 

how can i backup the domains ?

Thanks for the excellent pluggin.

 

 

 

  • Author

Yeah, but the domains and the appdata aren't stored in the root of each drive.  They're in a share.

 

So, your path is /mnt/user/appdata (the name of the share the appdata is actually in)

Hi, I was wondering if it's possible to specify multiple source appdata locations?  For example in my case, I'd like to backup both my standard appdata directory, as well as appdata that lives in an unassigned disk.

 

Thanks!

On 1/31/2021 at 10:39 AM, Mihle said:

I imagined that was only for the appdata but guess not.

Tried to make a new share for it and put it as external storage, but Nextcloud can not see the the contents of it or sync it to my desktop (because that is what I want and is trying to do)

I guess I will just leave the idea and have to try remember to back up the flash drive manually now and then, then.

3 hours ago, Mihle said:

I guess I will just leave the idea and have to try remember to back up the flash drive manually now and then, then.

Didn't follow the whole conversation for what you're trying to do but you can run your own user script that backs up the flash drive to a sync folder on the share for nextcloud. 

On 2/2/2021 at 11:59 PM, Energen said:

Didn't follow the whole conversation for what you're trying to do but you can run your own user script that backs up the flash drive to a sync folder on the share for nextcloud. 

Ah, searched and found this one:

EDIT: That way to do flash backup works better than what this plugin does for how I want to use it.

Edited by Mihle

ok problem...

 

I backed up my old 60GB unassigned device /mnt/disks/device and now want to restore to my new 240GB pool /mnt/docker...

 

how do I do this? it doesn't seem like I can change the destination from the old disk.

 

is it adequate to just untar it?

 

tar -C /mnt/docker -xvf /mnt/user/backup/docker/date/ca_backup.tar

 

Edited by SimplifyAndAddCoffee

It’s been a while since I used ca backup, and the last time I did it stopped all dockers and vm’s, is that still the case? I’m looking to try and backup my app data and unraid data to my google drive or onedrive, and trying to think of the best way of doing that without stopping all of my containers. Ideas and suggestions are appreciated.

57 minutes ago, karldonteljames said:

It’s been a while since I used ca backup, and the last time I did it stopped all dockers and vm’s, is that still the case? I’m looking to try and backup my app data and unraid data to my google drive or onedrive, and trying to think of the best way of doing that without stopping all of my containers. Ideas and suggestions are appreciated.

There is an option to enable/disable (specific) dockers from stopping.. so I guess you could just prevent them all from stopping.

hi guys and girls!

first of all: thank your for the plugin, really makes things easier

generally love the community

 

now i have some questions:

in wich order does the backup-task stop and start the docker containers?

the reason for my question:

in the past, i've noticed some strange things happen to nextcloud, if it's connected to a maria-db container. if the maria-db will be stopped before nextcloud, it could happen that after the restart nextcloud runs into a system-error and needs to be reinstalled.

I've had that a couple of times and it cost me nerves and hair..

 

Is there someone else maybe with this experience?

is there any advice you can give me?

 

at the moment i've excluded mariadb and nextcloud from backup from beeing shutdown, but if I understand correctly this could lead to more issues and also files which beeing accessed not beeing backuped.

 

thanks in advance!

 

d8

  • Author

Personally for me, I have CA Backup set to not stop mariadb to avoid these kind of problems with no ill effects

Thanks I’ll take another look at it, is it possible to have it backup to google drive, or OneDrive, or would I need to use clone for that? Does it backup in open file format, so i could do an individual file / docker restore?

sry, did not expect to get a comment so fast..

 

I will give that a try and report back.

thanks!

  • Author
On 2/16/2021 at 6:26 AM, karldonteljames said:

Thanks I’ll take another look at it, is it possible to have it backup to google drive, or OneDrive, or would I need to use clone for that? Does it backup in open file format, so i could do an individual file / docker restore?

Everything is in a single tarball

I experience a corruption of my SSD cache drive and after failed attempts to retrieve the data I formatted the drive. I hoped the backup plugin would save me, but it only says "No Backup Sets Found". I used the spaceinvader guide to set it up a while ago and I see the folder with the usb backup does contain data. The appdata backup however has a folder "[email protected]", but it's empty. Does that mean there is no hope and I have no backup? I didn't think about it when I setup the plugin originally since the Spaceinvader guide doesn't motion it so I left it on default, but "Delete backups if they are this many days old" is set to 1. Does that mean it automatically deleted the backup after 24 hours?

  • Author

Best guess is that you had the backups going to a share that was Use Cache: Yes (or only), and in that situation the backup was stored on your now defective cache, and is lost.

I checked now, it says No under cache for my backups share.

  • Author

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

Tried rebooting and still an empty folder :/ I guess there's no hope then?

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

Edited by L0rdRaiden

  • Author
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)

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

Guest
This topic is now closed to further replies.

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.