× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Remove contents of backup destination option

HolgerGT86
Guide

Remove contents of backup destination option

Hello all,

I'm using a ReadyNAS 104 at level 6.4.1.

 

When defining a backup job to backup ReadyNAS contents to an external USB/eSATA drive connected to the ReadyNAS, there's an option to remove the content of the backup destination:

 

ReadyNAS-Backup-Option.jpg

 

Here is what I did and what happened:

  1. I defined backup job 1 to backup all ReadyNAS home directories to the external drive.
    For this job I did NOT check the "Remove the contents of the backup destination ..." option.
  2. Backup job 1 run all the night but completed successfully.
  3. I defined backup job 2 to backup all private time machine backups to the same external drive backup job 1 is using.
    For this backup job 2 I decided to always "Remove the contents of the backup destination", so I check this option for backup job 2.
    As the option is private for each backup job, I though it will delete only the data which was backed up by this job.
  4. I started backup job 2 which has the "Remove the contents of the backup destination ..." option checked.
    I was very surprised to see that the backup job 2 deleted ALL contents of the external drive, including my backup job 1 home directory backups.
    Again, I thought the option is affecting the backup job 2 data only as it's the only backup job having the "Remove the contents of the backup destination ..." option checked.

I feel the implementation of the option "Remove the contents of the backup destination ..." is not good because it's not intuitive. Why is it possible to use different settings for different backup jobs when the option has a global effect on all backup jobs? 

I know it's possible to specify different backup target devices for each backup job, but the description / warning for this option in the GUI should be more clear on what's happening when I check the option.

The warning should clearly state that removing ALL contents means EVERYTHING on the backup target device, and not only the backup target path on the target device.

 

Don't know if this makes sense to you?

 

Regards... Holger

 

Message 1 of 19

Accepted Solutions
StephenB
Guru

Re: Remove contents of backup destination option


@HolgerGT86 wrote:

This was a quick one.

It happens when you run a backup job and do not specify a destination path.

I defined a test backup job to back up source /data/backup (share:Backup) to destination USB back top. I did not specify a path for the destination, I selected to run a full backup and checked the option "Remove the contents ...".

When running the test backup job all data on the destination device was deleted, including the already backed up data for "BackupHomeFoldersToTaurus" and "BackupTimeMachineToTaurus".

Don't know if this makes a difference now?

Regards,

Holger


That means its working as designed - deleting all files in the specified destination folder before beginning the backup.

View solution in original post

Message 17 of 19

All Replies
StephenB
Guru

Re: Remove contents of backup destination option

The option warns that "this option deletes all folders and files in the backup destination."  

 

I get that you thought it did something else, but I'm not seeing a way to word it more clearly.  Do you have a suggestion?

 

 

 

Message 2 of 19
HolgerGT86
Guide

Re: Remove contents of backup destination option

 

This is the current text for the option:

 

"Remove the contents of the backup destination before performing a full backup. 

This option removes from the backup destination any files that were removed in the backup source.

Warning: This option deletes all files and folders in the backup destination."

 

Before I suggest another text, let me ask one more thing to ensure I get it right.

The text says that the contents of the backup destination are only removed when a full backup is run. Does it mean nothing is removed when an incremental backup is done?

Means, when I decide to schedule a full backup every week, than every week, before the full backup starts, everything is deleted? Nothing is deleted when running incremental backups between the full backups?

 

For me the message text should say something like this:

 

"Remove the contents of the backup destination before performing a full backup. 

This option removes from the backup destination any files that were removed in the backup source.

Warning: This option deletes all files and folders in the backup destination. It is not limitted to the destination path used by this backup job but impacts the data of all backup jobs using the same backup destination device."

 

Maybe an English native speaker is able to do better.

 

Regards,

Holger

Message 3 of 19
StephenB
Guru

Re: Remove contents of backup destination option

What it does is delete ALL files and folders from the destination folder BEFORE the full backup is run. It doesn't check for files that were deleted on the source or anything else.  

 

If you want to just delete files that are no longer on the source, there is a different option for that (but it is only available for some protocols - rsync in particular).

 

 

I think you are might be saying that the option deleted files on the drive that were not in the destination folder.  If so, I think you've found a bug.  Please confrim that I'm understanding you correctly. If you can post of screen shot of the backup settings, that would be helpful.

Message 4 of 19
HolgerGT86
Guide

Re: Remove contents of backup destination option

you misunderstood my update - sorry if I was not clear enough.

I already started this thread with a screen shot of the backup option I'm talking about.

There you can see what the original option text says, including the warning.

I don't have the time to do a detailed update now. Please give me some more time.

I will update this thread with more details and examples so that it will hopefully become more clear.

 

Thanks for taking care!

Holger

Message 5 of 19
StephenB
Guru

Re: Remove contents of backup destination option

What I'm interested in seeing is the destination configuration page, and getting some more details on the folder name(s)  that the backup job deleted.

Message 6 of 19
HolgerGT86
Guide

Re: Remove contents of backup destination option

Good morning.

 

I have 2 backup jobs defined on my ReadyNAS:

 

Backup-Jobs.jpg

Both backup jobs use the same external disk drive (Taurus RAID 0) connected to USB back top.

 

I first define the backup job BackupHomeFoldersToTaurus (the first one in the picture above):

 

BackupHomeFolders-General.jpg

 

BackupHomeFolders-Source.jpg

 

BackupHomeFolders-Destination.jpg

 

BackupHomeFolders-Options.jpg

As you can see in the options screen shot, I did NOT check the option "Remove the conents ...".

I run this backup job and it completed successfully.

 

To be continued ... (the forum update is slowing down more and more ... maybe it's getting to long?)

 

Message 7 of 19
HolgerGT86
Guide

Re: Remove contents of backup destination option

I then defined the second backup job called BackupTimeMachineToTaurus:

 

BackupTimeMachine-General.jpg

 

BackupTimeMachine-Source.jpg

 

I used the same output device connected to USB back top connector, but different path:

 

BackupTimeMachine-Destination.jpg

 

Using the following options:

 

BackupTimeMachine-Options.jpg

 

This time I checked the option "Remove the contents ..." because I decided for myself not to use incrementals for Time Machine backups. I read the warning for the "Remove the contents ..." option but I understood it is valid for this single backup job only. I thought that it will remove everything below the specified destination path and the destination path itself.

Because both backup jobs allow to set this option different, I did not think about this option to be a global option valid for all backup jobs using the same physical output / destination device.

 

What happened when running the this backup job "BackupTimeMachineToTaurus" was surprising to me. It first deleted ALL data on my destination device including backup data which was from backup job "BackupHomeFoldersToTaurus".

 

This is why I think that the warning needs to be more clear that not only the data of the backup job but ALL data on the complete destination device is deleted. 

Much better would be that 

  • the option "Remove the contents of ..." can be checked if this is the only backup job using the specified physical destinaton device
  • when I define a new backup job and I decide to check the option "Remove the contents of ..." a window should pop up warning me that checking this option impacts other backup jobs in case I already have other backup jobs defined using same physical destination device. Best would be to list all backup job which would be impacted by checking the option.
    In my example:
    I have BackupHomeFoldersToTaurus already defined and option "Remove the contents of ..." is NOT checked.
    I define the second backup job BackupTimeMachineToTaurus, using same destination device than BackupHomeFoldersToTaurus. When I check the option "Remove the contents of ..." for BackupTimeMachineToTaurus, a window should pop up saying "Warning: checking this option will result into all data on the destination device connected to USB Back Top for backup job BackupHomeFoldersToTaurus to become deleted, too".
  • Or other way around... I have already a backup job defined which has the option "Remove the contents of ... " checked. When I now define another backup job using the same destination device, a window should be pop up warning me that there is already a backup job defined using same destination device and having "Remove the contents of ..." checked. The options tab for the new defined backup job should have the option "Remove the contents of ..." already pre-checked and should not allow to change this. 

Sure, there may be other ways to handle it. But as there is no updated user's manual available helping here, I feel the GUI can do better.

 

Regards,

Holger

Message 8 of 19
BrianL2
NETGEAR Employee Retired

Re: Remove contents of backup destination option

Hi HolgerGT86,

 

Thanks for your suggestion and for sharing this wonderful and informative thread in the community. NETGEAR will surely update or release a new user manual soon.

 

 

Kind regards,

 

BrianL
NETGEAR Community Team

Message 9 of 19
StephenB
Guru

Re: Remove contents of backup destination option


@HolgerGT86 wrote:

 

 

This time I checked the option "Remove the contents ..." because I decided for myself not to use incrementals for Time Machine backups. I read the warning for the "Remove the contents ..." option but I understood it is valid for this single backup job only. I thought that it will remove everything below the specified destination path and the destination path itself.

Because both backup jobs allow to set this option different, I did not think about this option to be a global option valid for all backup jobs using the same physical output / destination device.

 

What happened when running the this backup job "BackupTimeMachineToTaurus" was surprising to me. It first deleted ALL data on my destination device including backup data which was from backup job "BackupHomeFoldersToTaurus".

 

 


Thanks for sharing the details.

 

From my point of view, this is a bug and not a documentation issue.  The scope of the deletions needs to be identical to the scope of the backup job.

 

Reporting bugs via support.netgear.com is possible (but rather tortured).  Its worth doing though.

Message 10 of 19
HolgerGT86
Guide

Re: Remove contents of backup destination option

I will look into the bug report at the weekend as I have no time before.

Thanks for your comments!

Message 11 of 19
Skywalker
NETGEAR Expert

Re: Remove contents of backup destination option

I went through step-by-step and created two identical backup jobs to yours.  But when I ran the jobs sequentially, I did not see your issue.  Any tips on how I can reproduce this?

Message 12 of 19
HolgerGT86
Guide

Re: Remove contents of backup destination option

Good morning,

strange that you cannot recreate it. I will do the recreate again at the weekend than.

Anything you need - logs, ...?

Regards,

Holger

Message 13 of 19
HolgerGT86
Guide

Re: Remove contents of backup destination option

I'm currently running a test.

I updated the settings of backup job "BackupTimeMachineToTaurus" to run a full backup every time and I checked the option "Remove contents ..." but it's working fine. It's just deleting previous time machine backups as it should be.

So I tried to remember what I changed. It's possible that I did not specify a destination path at the beginning when everything was deleted. I will run another recreate later and let you know.

Message 14 of 19
StephenB
Guru

Re: Remove contents of backup destination option


@HolgerGT86 wrote:

It's possible that I did not specify a destination path at the beginning when everything was deleted.


That would explain everything.

 

Please post back when you've finished the test.

Message 15 of 19
HolgerGT86
Guide

Re: Remove contents of backup destination option

This was a quick one.

It happens when you run a backup job and do not specify a destination path.

I defined a test backup job to back up source /data/backup (share:Backup) to destination USB back top. I did not specify a path for the destination, I selected to run a full backup and checked the option "Remove the contents ...".

When running the test backup job all data on the destination device was deleted, including the already backed up data for "BackupHomeFoldersToTaurus" and "BackupTimeMachineToTaurus".

Don't know if this makes a difference now?

Regards,

Holger

Message 16 of 19
StephenB
Guru

Re: Remove contents of backup destination option


@HolgerGT86 wrote:

This was a quick one.

It happens when you run a backup job and do not specify a destination path.

I defined a test backup job to back up source /data/backup (share:Backup) to destination USB back top. I did not specify a path for the destination, I selected to run a full backup and checked the option "Remove the contents ...".

When running the test backup job all data on the destination device was deleted, including the already backed up data for "BackupHomeFoldersToTaurus" and "BackupTimeMachineToTaurus".

Don't know if this makes a difference now?

Regards,

Holger


That means its working as designed - deleting all files in the specified destination folder before beginning the backup.

Message 17 of 19
HolgerGT86
Guide

Re: Remove contents of backup destination option

Good to know because this is not documented very well than.

I suggest to change the warning message to become more specific in what is the "backup destination".

I recommend to add "... backup destination which is the full qualified path of <Name:><Path:> specified in the destination tab." Something like this.

I thought about other options like only allow to check the "Remove the contents ..." option in case a path is specified. But this may be to restrictive.

 

Thanks for clarifying things!

Message 18 of 19
StephenB
Guru

Re: Remove contents of backup destination option


@HolgerGT86 wrote:

Good to know because this is not documented very well than.

I suggest to change the warning message to become more specific in what is the "backup destination".

I recommend to add "... backup destination which is the full qualified path of <Name:><Path:> specified in the destination tab." Something like this.

I thought about other options like only allow to check the "Remove the contents ..." option in case a path is specified. But this may be to restrictive.

 

Thanks for clarifying things!


In my experience the more text you put into a warning, the more confusing it becomes.

 

You could perhaps say  "Warning: The option deletes all files and folders in <path>", using whatever the correct pathname is.

Message 19 of 19
Top Contributors
Discussion stats
  • 18 replies
  • 4551 views
  • 0 kudos
  • 4 in conversation
Announcements