[Plugin] CA Appdata Backup / Restore - Deprecated


Squid

Recommended Posts

2 minutes ago, thaddeussmith said:

why does it make the webgui, smb, etc completely unresponsive? i'm able to SSH, but even it is laggy.

During a backup its reading / writing from the cache drive to the array, which depending upon your hardware may impact performance.  Your system is probably laggy during SMB transfers by themselves.

 

If watching the progress during a backup, then it's checking the status and updating the screen every (IIRC) 2 seconds.

Link to comment

I've been having trouble on and off with this too. It seems to work fine when I do a manual backup, but sometimes the automated backups seem to hang and cause the server to become non-responsive. I'm also backing up my Plex directory, but that's one of the main things I want to back up, so I don't want to exclude it.

 

@thaddeussmithAre you just looking at the system log? Does that persist past the forced reboot? I'm unable to access the server when mine hangs and couldn't get to the log file.

Link to comment

You guys might want to read this starting here:

 

Net result is that I have zero clue why a couple of people have problems with this as both the copy and the removing of old sets fails / hangs as its simply a standard bash command

 

 

Link to comment

Thanks @Squid.  I understand your logic here and it makes sense. I am using xfs on my array and btrfs on my cache pool.

 

I will try changing the backup setting to use a single disk. I am also trying to space out my scheduled mover and backup times, just to make sure they are not running at the same time.

 

I guess it's worth mentioning that I was just deleting some old backup data and when I used rm -r on the plex directory it took ~10 minutes and my GUI was unresponsive for part of that. It did come back though. The hang I see when backing up seems to last indefinitely, but the behavior is similar.

Edited by shooga
Link to comment
1 hour ago, shooga said:

Thanks @Squid.  I understand your logic here and it makes sense. I am using xfs on my array and btrfs on my cache pool.

 

I will try changing the backup setting to use a single disk. I am also trying to space out my scheduled mover and backup times, just to make sure they are not running at the same time.

 

I guess it's worth mentioning that I was just deleting some old backup data and when I used rm -r on the plex directory it took ~10 minutes and my GUI was unresponsive for part of that. It did come back though. The hang I see when backing up seems to last indefinitely, but the behavior is similar.

There's also something you can set in the Tips & Tweaks plugin.  (Something about vfs.cache_pressure IIRC)  You'd have to search...

Link to comment

Oddity with this plugin doing a backup under 6.4.0rc2.  Says it's going to do it's thing, then does feck all.

 

Log:

Jun 6 17:07:36 WHS root: #######################################
Jun 6 17:07:36 WHS root: Community Applications appData Backup
Jun 6 17:07:36 WHS root: Applications will be unavailable during
Jun 6 17:07:36 WHS root: this process. They will automatically
Jun 6 17:07:36 WHS root: be restarted upon completion.
Jun 6 17:07:36 WHS root: #######################################
Jun 6 17:18:05 WHS root: Community Applications rsync process running. Killing

I waited for it to do something for 11 minutes, then hit the Abort button.  It's still doing feck all.

 

It worked great until the upgrade to 6.4, backup took about 90 seconds to run before, including time waiting for the destination drive spinning up.

 

Ideas?

Edited by HellDiverUK
Link to comment

I had a cache drive bite it today. Thankfully I had this great backup already setup. I followed the steps listed and got all the dockers back within minutes. But I'm not sure how to restore my vm data which is backed up in appdata. The images are still in place becase they were on unassigned disks. I could recreate the xml, but is here an easier way I'm just overlooking? 

 

Link to comment
5 minutes ago, johnnie.black said:

 

Do you backup the libvirt.img? If yes just restore that.

If it's not including in in this backup/restore program, then no. Unless it is stored somewhere in the array, then I have a backup via crash plan. 

 

Edit-

 

if it's the img located in the system file, it was not a part of my crash plan backup for some reason....

Edited by 1812
Link to comment

Just go to your VM XML backup over the network, open up the xml's, then add a custom VM, and paste the contents of the xml in there.  You'll lose the icon though.

 

XML backups are something just tacked onto system, and if I ever make it far enough down my whiteboard todo list, then I'd integrate danioj's vm backup script entirely... 

Link to comment
2 minutes ago, 1812 said:

If it's not including in in this backup/restore program, then no. Unless it is stored somewhere in the array, then I have a backup via crash plan. 

 

Settings -> VM Manger -> (Advanced mode enable) - Libvirt storage location:

Link to comment
1 minute ago, Squid said:

XML backups are something just tacked onto system, and if I ever make it far enough down my whiteboard todo list, then I'd integrate danioj's vm backup script entirely...

 

Why not backup the libvirt.img? All you need to restore VMs is that and the vdisks.

Edited by johnnie.black
Link to comment
3 minutes ago, Squid said:

At the time it was made I didn't run a VM, so merely added what someone here asked me to add.

 

But now that I'm shamed into it, I can feel an update coming up...

 

Awesome! Great things come out of my failures!

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.