Does Hyper Backup create a snapshot before backing up?

Discussion room for the Hyper Backup package
Forum rules
We've moved! Head over to Synology Community (community.synology.com) to meet up with our team and other Synology enthusiasts!
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?

Unread post by 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
Guru
Guru
Posts: 1578
Joined: Wed Feb 15, 2017 9:57 pm

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

Unread post by 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?

Unread post by 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- ... nux-part-2

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

sincarne
Guru
Guru
Posts: 1578
Joined: Wed Feb 15, 2017 9:57 pm

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

Unread post by 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- ... nux-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?

Unread post by 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
Guru
Guru
Posts: 1578
Joined: Wed Feb 15, 2017 9:57 pm

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

Unread post by 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: 2
Joined: Fri Dec 29, 2017 10:31 pm

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

Unread post by 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/dow ... _Paper.pdf).

Locked

Return to “Hyper Backup”