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] Snapshots

Featured Replies

21 hours ago, SimonF said:

Not currently I have something similar for docker folders, would you be able to share examples via DM?

I can though I am not sure what help it would be. Unlike the case with docker, the paths/subvolume names to exclude for urBackup will be unique to each installation. My hope would be for a way to enter one or more arbitrary paths and the plugin filter out any subvolume/snapshot mounted at that path or in a subdirectory thereof.  Similar to the exclude textbox available in the File Integrity plugin for example.

  • 1 month later...
  • Replies 275
  • Views 55k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • primeval_god
    primeval_god

    Snapshots are not "based on a previous snap" they are a Copy on Write copy of a subvolume. For the purpose of restoration there are no dependencies between them, (all of the data sharing stuff is hand

  • Best way to restore (so that you can keep doing the incremental backups) is to send/receive the backup to the destination where you do the original snapshots on that volume, then create a new read/wri

  • In any case I would still recommend creating shares as subvolumes, to make things cleaner, and for the plugin to work.

Posted Images

Has anybody tested this plugin with the new release candidates for Unraid 6.12.0 ?

  • Author
14 minutes ago, Peter Braun said:

Has anybody tested this plugin with the new release candidates for Unraid 6.12.0 ?

I have it running on my test systems and have been through the betas. Seems to be running as expected with my test setups but dont use for real work loads.

  • 2 weeks later...

I tried to make this work on the root, but I cannot setup a schedule as I just get an empty page when I click apply. If I manually make a snapshot of the root it does work.

 

Because of this I thought that I maybe should go the way that the manual says and set up subvolumes. And here is my question:
If I want to utilize Unraids ability to span folders over multiple disk do I then have to set up identical subvolumes on all my disks and then setup schedules for them each?

7 minutes ago, Larsen1 said:

If I want to utilize Unraids ability to span folders over multiple disk do I then have to set up identical subvolumes on all my disks and then setup schedules for them each?

Yes, each filesystem needs to be snapshoted individually.

10 minutes ago, JorgeB said:

Yes, each filesystem needs to be snapshoted individually.

Thank you for the quick answer

Now I've almost given up. I can still not get schedules to work. I've attached three images to this post. In the first image you can see that I can manually make a snapshot. In the second image you can see the settings I'm using when I try to set up a schedule for the folder "/mnt/disk1/photos". In the third image you just see the blank screen I get when I click "Apply" on the form from the second image.

 

snapshot1.thumb.png.5096b8b54cb4accdd3a60bdb33aae56a.png

snapshot2.thumb.png.59e6e04a894b618a5bcf2db277abe96f.png

snapshot3.thumb.png.0304bf2f816eee28eb8064bc2008ab2c.png

 

Does anybody have a guess at what I'm doing wrong?

 

 

  • Author
10 hours ago, Larsen1 said:

Now I've almost given up. I can still not get schedules to work. I've attached three images to this post. In the first image you can see that I can manually make a snapshot. In the second image you can see the settings I'm using when I try to set up a schedule for the folder "/mnt/disk1/photos". In the third image you just see the blank screen I get when I click "Apply" on the form from the second image.

 

snapshot1.thumb.png.5096b8b54cb4accdd3a60bdb33aae56a.png

snapshot2.thumb.png.59e6e04a894b618a5bcf2db277abe96f.png

snapshot3.thumb.png.0304bf2f816eee28eb8064bc2008ab2c.png

 

Does anybody have a guess at what I'm doing wrong?

 

 

I will look to see if I can recreate.

22 hours ago, Larsen1 said:

Now I've almost given up. I can still not get schedules to work. I've attached three images to this post. In the first image you can see that I can manually make a snapshot. In the second image you can see the settings I'm using when I try to set up a schedule for the folder "/mnt/disk1/photos". In the third image you just see the blank screen I get when I click "Apply" on the form from the second image.

 

snapshot1.thumb.png.5096b8b54cb4accdd3a60bdb33aae56a.png

snapshot2.thumb.png.59e6e04a894b618a5bcf2db277abe96f.png

snapshot3.thumb.png.0304bf2f816eee28eb8064bc2008ab2c.png

 

Does anybody have a guess at what I'm doing wrong?

 

 

What version of unraid are you using?

1 hour ago, Peter Braun said:

What version of unraid are you using?

6.12-rc2, but I had the problem with 6.11 aswell

  • Author
On 4/6/2023 at 8:11 PM, Larsen1 said:

Now I've almost given up. I can still not get schedules to work. I've attached three images to this post. In the first image you can see that I can manually make a snapshot. In the second image you can see the settings I'm using when I try to set up a schedule for the folder "/mnt/disk1/photos". In the third image you just see the blank screen I get when I click "Apply" on the form from the second image.

 

snapshot1.thumb.png.5096b8b54cb4accdd3a60bdb33aae56a.png

snapshot2.thumb.png.59e6e04a894b618a5bcf2db277abe96f.png

snapshot3.thumb.png.0304bf2f816eee28eb8064bc2008ab2c.png

 

Does anybody have a guess at what I'm doing wrong?

 

 

I can confirm this is a 6.12 issue, I will look at a fix. The issue does not show on 6.11 and schedules created on 6.11 show ok on 6.12 when upgraded. Seems to be an issue when no schedules are defined and related to PHP8 changes in 6.12

  • Author
On 4/7/2023 at 8:16 PM, Larsen1 said:

6.12-rc2, but I had the problem with 6.11 aswell

as a work around create the following file this will allow you to create a schedule.

 

nano  /tmp/snapshots/config/subvolsch.cfg 
{
    "\/mnt\/disk2\/photos": [],
    "\/mnt\/disk1\/photos": []
}

2 hours ago, SimonF said:

as a work around create the following file this will allow you to create a schedule.

 

nano  /tmp/snapshots/config/subvolsch.cfg 
{
    "\/mnt\/disk2\/photos": [],
    "\/mnt\/disk1\/photos": []
}

It seems like it worked. Thank you!

 

But I'm still pretty sure that it didn't work when I was on 6.11.5 because I upgraded to 6.12.0-rc2 in hope that that would work.

  • 5 weeks later...

 

 

 

I thought that snapshot is not available on XFS. Recently I read that shaphot can be done through reflink. Do you think this can be implemented  in your plugin?

 

  • Author
3 hours ago, emrepolat7 said:

 

 

 

I thought that snapshot is not available on XFS. Recently I read that shaphot can be done through reflink. Do you think this can be implemented  in your plugin?

 

Not going to have time to look at at present any limks to info?

  • 4 weeks later...

I cannot get this working. Every time I take a snapshot the folder is empty.

 

image.thumb.png.19f0067ebe457207be75532c1f5a82e4.png

 

And here is the directory:

image.thumb.png.8abc0b39918da2a6a39eb291948c0be5.png

 

What I am trying to do, I moved my appdata for the dockers to this drive that is BTRFS, I would like to take a snapshot of it and then use duplicati to backup the snapshot online. 

Edited by ZerkerEOD
Added context

  • Author
1 hour ago, ZerkerEOD said:

I cannot get this working. Every time I take a snapshot the folder is empty.

 

image.thumb.png.19f0067ebe457207be75532c1f5a82e4.png

 

And here is the directory:

image.thumb.png.8abc0b39918da2a6a39eb291948c0be5.png

What is in vmstorage-backup?

Just now, SimonF said:

What is in vmstorage-backup?

Nothing, it was the directory I was putting the snapshots in. So I feel I am messing up. These are my current directories on vmstorage. I am wanting to get rid of appdata-backup in favor of the snapshots. Currently, I have the script that stops all containers, then copies the appdata directory into the appdata-backup and then restarts them all. But I read somewhere that taking a snapshot is better and you can leave the dockers running.

 

So right now, I just want to snapshot the appdata directory.

 

image.png.4d1f3f1c27238909ea811daf51dc99c9.png

  • Author
1 hour ago, ZerkerEOD said:

Nothing, it was the directory I was putting the snapshots in. So I feel I am messing up. These are my current directories on vmstorage. I am wanting to get rid of appdata-backup in favor of the snapshots. Currently, I have the script that stops all containers, then copies the appdata directory into the appdata-backup and then restarts them all. But I read somewhere that taking a snapshot is better and you can leave the dockers running.

 

So right now, I just want to snapshot the appdata directory.

 

image.png.4d1f3f1c27238909ea811daf51dc99c9.png

The folder needs to be a subvolume so create a test subvolume put some data in it and test a snapshot.

9 minutes ago, SimonF said:

The folder needs to be a subvolume so create a test subvolume put some data in it and test a snapshot.

Can I not make an existing folder a subvolume?

14 minutes ago, ZerkerEOD said:

Can I not make an existing folder a subvolume?

Nope.

  • Author
18 minutes ago, ZerkerEOD said:

Can I not make an existing folder a subvolume?

You would need to rename dir and copy/move the data back to a new subvolume with the orginal name. Make sure you have a backup.

3 hours ago, SimonF said:

You would need to rename dir and copy/move the data back to a new subvolume with the orginal name. Make sure you have a backup.

Awesome, thanks for the tips. That worked. Out of curiosity, if I took a snapshop while a VM was running would that cause any issues if I needed to recover from the snapshot?

  • Author
16 minutes ago, ZerkerEOD said:

Awesome, thanks for the tips. That worked. Out of curiosity, if I took a snapshop while a VM was running would that cause any issues if I needed to recover from the snapshot?

Yes it could do a parts of the disk may not have been written out of memory. Best to stop the vm.

  • 2 weeks later...

Today I tried unraid 6.12.0 and found, that snapshots on my disc array are only visible if "show root" is switched on. I've tested this with different browsers. Can anyone confirm this?

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.