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

  • Replies 275
  • Views 54.8k
  • 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

  • Author

Reserved. Note this is still a beta release.

 

image.thumb.png.a5ad2ed04014c17275995e5b6bc5feb1.png

Edited by SimonF

  • 2 months later...

Hi,

  I've installed this, made a snapshot and alls good but how do i go about restoring? There is an option to "Send" the snapshot, if i wanted to restore this over where i am now would i delete / move the original disk and then "Send" this snapshot to the original directory of the VM or am i missing something here?

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/write snapshot to the original data location, this way data is restored and you can then create future snapshots and continue to incrementally send them to the backup destination.

  • 3 weeks later...

super enfin quelqu'un a crée un plugins de sauvegarde btrfs snapshot sa fait 1 an que j'attendais sa !!

 

merci ;)

si vous avez une idée ?

 

 

si vous avez une idée 

 

 

["/mnt/disk5"]=> array(1) { ["/mnt/disk5/disk5-back"]=> array(9) { ["uuid"]=> string(36) "65ad9384-3b6a-8c48-be0c-321fce05b2be" ["puuid"]=> string(1) "-" ["ruuid"]=> string(1) "-" ["snap"]=> bool(false) ["vol"]=> string(10) "/mnt/disk5" ["path"]=> string(21) "/mnt/disk5/disk5-back" ["short_vol"]=> string(10) "disk5-back" ["property"]=> array(1) { ["ro"]=> string(5) "false" } ["subvolume"]=> array(1) { ["disk5-back/disk5-back"]=> array(11) { ["uuid"]=> string(36) "17211aa7-ea2e-c643-9976-8c4edb258edc" ["puuid"]=> string(36) "65ad9384-3b6a-8c48-be0c-321fce05b2be" ["ruuid"]=> string(1) "-" ["snap"]=> bool(true) ["odate"]=> string(10) "2022-02-04" ["otime"]=> string(8) "08:17:53" ["vol"]=> string(10) "/mnt/disk5" ["incremental"]=> NULL ["path"]=> string(21) "disk5-back/disk5-back" ["parent"]=> string(21) "/mnt/disk5/disk5-back" ["property"]=> array(1) { ["ro"]=> string(4) "true" } } } } } }

 

Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/snapshots/include/lib.php on line 499

  • Author
21 minutes ago, vmlinuz said:

si vous avez une idée 

 

 

["/mnt/disk5"]=> array(1) { ["/mnt/disk5/disk5-back"]=> array(9) { ["uuid"]=> string(36) "65ad9384-3b6a-8c48-be0c-321fce05b2be" ["puuid"]=> string(1) "-" ["ruuid"]=> string(1) "-" ["snap"]=> bool(false) ["vol"]=> string(10) "/mnt/disk5" ["path"]=> string(21) "/mnt/disk5/disk5-back" ["short_vol"]=> string(10) "disk5-back" ["property"]=> array(1) { ["ro"]=> string(5) "false" } ["subvolume"]=> array(1) { ["disk5-back/disk5-back"]=> array(11) { ["uuid"]=> string(36) "17211aa7-ea2e-c643-9976-8c4edb258edc" ["puuid"]=> string(36) "65ad9384-3b6a-8c48-be0c-321fce05b2be" ["ruuid"]=> string(1) "-" ["snap"]=> bool(true) ["odate"]=> string(10) "2022-02-04" ["otime"]=> string(8) "08:17:53" ["vol"]=> string(10) "/mnt/disk5" ["incremental"]=> NULL ["path"]=> string(21) "disk5-back/disk5-back" ["parent"]=> string(21) "/mnt/disk5/disk5-back" ["property"]=> array(1) { ["ro"]=> string(4) "true" } } } } } }

 

Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/snapshots/include/lib.php on line 499

This is on the debug page nothing to worry about. fixed in next release to not show warning.

Edited by SimonF

I make daily backups of various items, including installation USB, app data, dockers.

 

If a docker update goes haywire, can I select and restore individual dockers from a particular backup?

 

At the moment, it seems to be all or nothing.

  • Author
2 minutes ago, Babar said:

I make daily backups of various items, including installation USB, app data, dockers.

 

If a docker update goes haywire, can I select and restore individual dockers from a particular backup?

 

At the moment, it seems to be all or nothing.

How are you backing up your dockers? Are you talking about the docker image or the appdata?

 

This plugin is for snapshoting BTRFS subvolumes, do you have docker setup as an image or folder?

Bonjour je cherche a crée des sauvegarde de disque dur entier comment faire je trouve pas ??

merci

je précise que sa fonctionne en ligne de commande la voici ==>> btrfs subvolume snapshot /mnt/disk1 /mnt/disk1/disk1-back

merci ;)

Edited by vmlinuz

voici quelque log

 

Feb 4 13:09:35 Unraid snapshots: Start snapping process / Slot:0
Feb 4 13:09:35 Unraid snapshots: btrfs subvolume snapshot -r '/' '/mnt/disk1/disk1-back/20220204130935' Error ERROR: Not a Btrfs filesystem: Invalid argument
Feb 4 13:09:45 Unraid snapshots: End snapping process /
Feb 4 13:09:45 Unraid snapshots: Manual Run '/' 0
Feb 4 13:11:11 Unraid snapshots: Start snapping process / Slot:0
Feb 4 13:11:11 Unraid snapshots: btrfs subvolume snapshot -r '/' '/mnt/disk1/disk1-back/20220204131111' Error ERROR: Not a Btrfs filesystem: Invalid argument
Feb 4 13:11:21 Unraid snapshots: End snapping process /
Feb 4 13:11:21 Unraid snapshots: Manual Run '/' 01964594776_Capturedcrande2022-02-0413-12-26.thumb.png.237cbb6a81715a2f937671b50f7b901b.png

  • Author

@vmlinuzAdded / of each volume. Will look to add switch to Hide Root for those who don't want to see in future update.

 

image.thumb.png.6d33b830dfa1bbc8e5d294516b5a18ca.png

super tout fonctionne reste a voir dans le temp 

depuis le temp que j'attendais ce plugins

merci ;) 

1932641152_Capturedcrande2022-02-0516-37-30.thumb.png.aeb2d99d08ada1ceff9677a23afd2c87.png

  • Author
16 minutes ago, vmlinuz said:

super tout fonctionne reste a voir dans le temp 

depuis le temp que j'attendais ce plugins

merci ;) 

1932641152_Capturedcrande2022-02-0516-37-30.thumb.png.aeb2d99d08ada1ceff9677a23afd2c87.png

FYI on Disk 2 you have used DMY.  YMD is converted to YmdHis but you need to use these time formats for anything other than YMD.

 

format character	Description	Example returned values
Day	---	---
d	Day of the month, 2 digits with leading zeros	01 to 31
D	A textual representation of a day, three letters	Mon through Sun
j	Day of the month without leading zeros	1 to 31
l (lowercase 'L')	A full textual representation of the day of the week	Sunday through Saturday
N	ISO 8601 numeric representation of the day of the week	1 (for Monday) through 7 (for Sunday)
S	English ordinal suffix for the day of the month, 2 characters	st, nd, rd or th. Works well with j
w	Numeric representation of the day of the week	0 (for Sunday) through 6 (for Saturday)
z	The day of the year (starting from 0)	0 through 365
Week	---	---
W	ISO 8601 week number of year, weeks starting on Monday	Example: 42 (the 42nd week in the year)
Month	---	---
F	A full textual representation of a month, such as January or March	January through December
m	Numeric representation of a month, with leading zeros	01 through 12
M	A short textual representation of a month, three letters	Jan through Dec
n	Numeric representation of a month, without leading zeros	1 through 12
t	Number of days in the given month	28 through 31
Year	---	---
L	Whether it's a leap year	1 if it is a leap year, 0 otherwise.
o	ISO 8601 week-numbering year. This has the same value as Y, except that if the ISO week number (W) belongs to the previous or next year, that year is used instead.	Examples: 1999 or 2003
Y	A full numeric representation of a year, 4 digits	Examples: 1999 or 2003
y	A two digit representation of a year	Examples: 99 or 03
Time	---	---
a	Lowercase Ante meridiem and Post meridiem	am or pm
A	Uppercase Ante meridiem and Post meridiem	AM or PM
B	Swatch Internet time	000 through 999
g	12-hour format of an hour without leading zeros	1 through 12
G	24-hour format of an hour without leading zeros	0 through 23
h	12-hour format of an hour with leading zeros	01 through 12
H	24-hour format of an hour with leading zeros	00 through 23
i	Minutes with leading zeros	00 to 59
s	Seconds with leading zeros	00 through 59
u	Microseconds. Note that date() will always generate 000000 since it takes an int parameter, whereas DateTime::format() does support microseconds if DateTime was created with microseconds.	Example: 654321
v	Milliseconds. Same note applies as for u.	Example: 654
Timezone	---	---
e	Timezone identifier	Examples: UTC, GMT, Atlantic/Azores
I (capital i)	Whether or not the date is in daylight saving time	1 if Daylight Saving Time, 0 otherwise.
O	Difference to Greenwich time (GMT) without colon between hours and minutes	Example: +0200
P	Difference to Greenwich time (GMT) with colon between hours and minutes	Example: +02:00
p	The same as P, but returns Z instead of +00:00	Example: +02:00
T	Timezone abbreviation, if known; otherwise the GMT offset.	Examples: EST, MDT, +05
Z	Timezone offset in seconds. The offset for timezones west of UTC is always negative, and for those east of UTC is always positive.	-43200 through 50400
Full Date/Time	---	---
c	ISO 8601 date	2004-02-12T15:19:21+00:00
r	» RFC 2822 formatted date	Example: Thu, 21 Dec 2000 16:01:07 +0200
U	Seconds since the Unix Epoch (January 1 1970 00:00:00 GMT)	See also time()

 

Edited by SimonF

j'ai mis sa comme configuration sa va pas déranger pour la sauvegarde automatique ?

/mnt/disk1/disk1-back/{HiljFY}333063120_Capturedcrande2022-02-0517-35-49.thumb.png.ea33b966ef4ae5d736c41c301105fe4b.png

Edited by vmlinuz

  • Author

Schedule will use default specified, but you can override on the schedule.

 

image.thumb.png.d92d0ea25030ebd3ecda71850abc640b.png

Edited by SimonF

il y a 6 minutes, SimonF a dit :

La planification utilisera la valeur par défaut souhaitée, mais vous pouvez remplacer la planification.

 

image.pouce.png.d92d0ea25030ebd3ecda71850abc640b.png

 

super merci pour votre réponse instantanée;)

 

949863718_Capturedcrande2022-02-0517-58-53.thumb.png.d5e5bf87f0fe1f50b819e5ec5e29b766.png

Edited by vmlinuz

  • Author
8 minutes ago, vmlinuz said:

 

super merci pour votre réponse instantanée;)

 

949863718_Capturedcrande2022-02-0517-58-53.thumb.png.d5e5bf87f0fe1f50b819e5ec5e29b766.png

Prefix => /mnt/disk1/disk1-back/{YMD} or correct path as you need.

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.