Standalone backup agent for Microsoft Windows servers and workstations (formerly Veeam Endpoint Backup FREE)
Post Reply
MariusRoma
Novice
Posts: 3
Liked: never
Joined: Aug 06, 2020 12:29 pm
Full Name: Marius - Roma - Italy
Contact:

Recycle bin

Post by MariusRoma »

I need to backup a Windows 10 box with *ALL* the files on the HD, including recycle bin and maybe files in $recycle.bin no more associated with any profile.
I created a job to backup the entire computer.
Can I presume that *ALL* the files are saved, including all the files in the $recycle.bin folder?
Is there any additional option I should select?
Regards
marius
Egor Yakovlev
Veeam Software
Posts: 2537
Liked: 683 times
Joined: Jun 14, 2013 9:30 am
Full Name: Egor Yakovlev
Location: Prague, Czech Republic
Contact:

Re: Recycle bin

Post by Egor Yakovlev » 1 person likes this post

Can I presume that *ALL* the files are saved
No you can't. Veeam relies on Microsoft VSS to take snapshots of protected volumes and perform backup. Microsoft VSS has it's own way to exclude "unneeded\not recommended" files, so Veeam does not have to worry about it and follows MS guidance. Some parts of a system are excluded by default as non-needed for entire system recovery, and including those back would be going against Microsoft recommendations.

Just wondering, what is your case when you need to restore valuable data...from a recycle bin?
asdffdsa6131
Expert
Posts: 121
Liked: 24 times
Joined: Sep 30, 2018 9:03 pm
Contact:

Re: Recycle bin

Post by asdffdsa6131 » 1 person likes this post

hello,

i also that this problem, that veeam will not backup the recycle bin

that web page from micro$oft makes no reference to the recycle bin.

took me a long time to figure out that, veaam agent, when starting a backup, will on the fly create a set of exclusions and then when the backup completes, then delete a set of exclusions.
here is an example of that.

the key is named VeeamExcludePaths and this is the contents
$AllVolumes$\pagefile.sys
$AllVolumes$\hiberfil.sys
$AllVolumes$\swapfile.sys
$AllVolumes$\$Recycle.Bin\* /s
$UserProfile$\AppData\Local\Temp\* /s
$AllVolumes$\System Volume Information\*{3808876B-C176-4e48-B7AE-04046E6CC752} /s

as a workaround, if you want to make sure that the recycle bin is backed-up, you can run this command before the backup starts.
this will set the attribute of all the files to read-only.
then, for whatever reason, veeam will ignore it own exclusion list and backup those files.
attrib +R /S C:\$RECYCLE.BIN\*.*
Egor Yakovlev
Veeam Software
Posts: 2537
Liked: 683 times
Joined: Jun 14, 2013 9:30 am
Full Name: Egor Yakovlev
Location: Prague, Czech Republic
Contact:

Re: Recycle bin

Post by Egor Yakovlev »

Question remains, what is the use case for Recycle Bin backup?
Post Reply

Who is online

Users browsing this forum: No registered users and 38 guests