Does Hyper Backup create a snapshot before backing up?

Discussion room for the Hyper Backup package
Forum rules
1) This is a user forum for Synology users to share experience/help out each other: if you need direct assistance from the Synology technical support team, please use the following form:

https://account.synology.com/support/support_form.php?lang=enu



2) To avoid putting users' DiskStation at risk, please don't paste links to any patches provided by our Support team as we will systematically remove them. Our Support team will provide the correct patch for your DiskStation model.
tomtonic
I'm New!
I'm New!
Posts: 3
Joined: Thu Dec 07, 2017 10:31 am

Does Hyper Backup create a snapshot before backing up?

Postby tomtonic » Thu Dec 07, 2017 11:00 am

Hey guys,

:?: Does Hyper Backup create a local file system snapshot before executing a backup task when operating on btrfs volumes?

I'm sorry to ask but I couldn't find a clear answer on Google. Why do I assume it should do so?
a) Otherwise it's too easy to backup an inconsistent system state
b) Creating a local file system snapshot and discarding it after backup is really cheap and easy to do - at least on btrfs volumes

Thanks for your help, Tom.
sincarne
Specialist
Specialist
Posts: 1146
Joined: Wed Feb 15, 2017 9:57 pm

Re: Does Hyper Backup create a snapshot before backing up?

Postby sincarne » Thu Dec 07, 2017 7:17 pm

no only snapshot replication have snapshot
tomtonic
I'm New!
I'm New!
Posts: 3
Joined: Thu Dec 07, 2017 10:31 am

Re: Does Hyper Backup create a snapshot before backing up?

Postby tomtonic » Thu Dec 07, 2017 8:10 pm

Astonishing... it only seems to need two additional lines of code: https://www.linux.com/learn/how-create-and-manage-btrfs-snapshots-and-rollbacks-linux-part-2

Would there be a way to somehow glue them around the under-the-hood backup script?
sincarne
Specialist
Specialist
Posts: 1146
Joined: Wed Feb 15, 2017 9:57 pm

Re: Does Hyper Backup create a snapshot before backing up?

Postby sincarne » Thu Dec 07, 2017 9:04 pm

tomtonic wrote:Astonishing... it only seems to need two additional lines of code: https://www.linux.com/learn/how-create-and-manage-btrfs-snapshots-and-rollbacks-linux-part-2

Would there be a way to somehow glue them around the under-the-hood backup script?


hyper backup not work same way as snapshot replication. hyper backup create database and can store file on volume that not format as Btrfs. snapshot replication require btrfs on NAS and for where you send data
tomtonic
I'm New!
I'm New!
Posts: 3
Joined: Thu Dec 07, 2017 10:31 am

Re: Does Hyper Backup create a snapshot before backing up?

Postby tomtonic » Thu Dec 07, 2017 9:24 pm

Thank you, sincarne. I'm sorry, probably my question was misleading. I know that Hyper Backup and Snapshot Replication are two different things. Yet, for Hyper Backup to archive the ability of sending a consistent system state, it is irrelevant whether the Hyper Backup Vault (i.e. "where you send data") stores on a volume with btrfs or not. It could easily do so.

My question was: Would there be a way to somehow glue them [i.e. the additional two lines] around the under-the-hood backup script [of Hyper Backup]?
sincarne
Specialist
Specialist
Posts: 1146
Joined: Wed Feb 15, 2017 9:57 pm

Re: Does Hyper Backup create a snapshot before backing up?

Postby sincarne » Thu Dec 07, 2017 9:43 pm

tomtonic wrote:Thank you, sincarne. I'm sorry, probably my question was misleading. I know that Hyper Backup and Snapshot Replication are two different things. Yet, for Hyper Backup to archive the ability of sending a consistent system state, it is irrelevant whether the Hyper Backup Vault (i.e. "where you send data") stores on a volume with btrfs or not. It could easily do so.

My question was: Would there be a way to somehow glue them [i.e. the additional two lines] around the under-the-hood backup script [of Hyper Backup]?


maybe you can do rsync script? hyper backup it just seem like it not work since it not do direct file copy
mlenaghan
I'm New!
I'm New!
Posts: 1
Joined: Fri Dec 29, 2017 10:31 pm

Re: Does Hyper Backup create a snapshot before backing up?

Postby mlenaghan » Fri Dec 29, 2017 10:48 pm

sincarne wrote:no only snapshot replication have snapshot


I'm not sure that's right?

Integration with Hyper Backup

For some applications, such as database logs or indexes, the consistency between files is critical to ensure the backed up files which can be used for successful recovery. Before snapshot technology is integrated with Hyper Backup application, backups may be inconsistent due to continual changes of data. For example, if a file is removed or changed during the backup in progress, the result of backup cannot be predicted because the time each file being backed up will be different.

Snapshot technology solves the issue by taking a snapshot when a backup process started, and backup application will transfer the data in the snapshot to the backup destination, and finally delete the snapshot after the backup process is completed. As a result, files will be backed up at the point in time when backup started,
even though the files are changed or deleted afterwards. This is useful for some applications for which data consistency is critical.


That's from White Paper for Data Protection with Synology Snapshot Technology Based on Btrfs File System (http://global.download.synology.com/download/Document/WhitePaper/Synology_Data_Protection_White_Paper.pdf).

Return to “Hyper Backup”

Who is online

Users browsing this forum: No registered users and 2 guests