Aller au contenu principal

Backing up OneDrive

Thread needs solution

Hi,

 

I just realized that for the last two years, Acronis did not back up my OneDrive, because some intermediate update removed the capability. Argh!

If I am upgrading to the 2021 version - will it be possible again to do a local backup of OneDrive, or do I need to go through all the hazzle of migrating to a different backup software to have protection again? (Using a cloud-based backup service is not possible in my business for legal reasons - I would have to get approval of each present and past client.)

 

 

0 Users found this helpful

If you have a subscription version of ATI 2021 you can backup OneDrive by the Microsoft 365 (aka Microsoft Office 365) rout. This will allow you to backup the associated email account, OneDrive etc directly from the Microsoft server to the Acronis server. You can backup multiple Microsoft Accounts.

You set it up using the Online Dashboard, click on Add then select Microsoft Office 365 for Home. It cannot backup Business versions of Microsoft Office as they are not hosted by Microsoft servers.

Hope this helps

Ian

 

Also, keep in mind of OneDrive "on demand" settings.  If these are enabled, they won't be backed up.

https://support.microsoft.com/en-us/office/sync-files-with-onedrive-files-on-demand-62e8d748-7877-420f-b600-24b56562aa70

https://support.microsoft.com/en-us/office/save-disk-space-with-onedrive-files-on-demand-for-windows-10-0e6860d3-d9f3-4971-b321-7092438fb38e

If you're 100% positive, that the on demand settings are disabled and the OneDrive files/folder are fully sync'd to your computer, but still not being backed up, I would recommend a new backup job (as a test).  This time, do just a file/folder backup of your specific OneDrive folder(s) (keep in mind there is a OneDrive profile for each user in their own Windows profile).  Back that up and then check the backup contents for what is available for recovery.

I decided to do a Files & Folders backup of my OneDrive and OneDrive for Business folders (both have files on demand disabled) and to my surprise it worked.

You nee to use the full path for the folders such as:

C:\Useres\[user name]\OneDrive

You would have to do this for each user.

Ian

PS I was using the latest build of ATI 2021

Hi, just a few (rather very long) notes from my experience, as I discovered the same issue, in that files on OneDrive were not being backed up TrueImage, however they initially appeared to being backed up.
 
I am a relatively new user of TrueImage (less than 12 months), and I discovered the same issue only when attempting restore from a TrueImage backup an older version of a file (a file that had been located under a OneDrive folder) . 
A general high level comment would be Acronis should from the outset warn users if it discovers OneDrive on partition/disk and inform the user that these files will not be correctly backed up.  There seems to be a long history of backup issues with respect to OneDrive folders, and various workarounds and potential solutions. 

Noting in this case:

  • The machine's OneDrive settings is/was set to allow for "Files on Demand"
  •  There was no exclusions for OneDrive in the "Exclusions" tab of the TrueImage backups. 
  •  All files which were in the machine's OneDrive Folder were all present in the Acronis True Image backup.
  • Attempted recovery of a file from a backup resulted in a zero sized file in the recovery location.

A couple of a additional notes.

  • - The files within the machine's OneDrive folder are a mixture of files, set to: 
  1. ** "Always Keep On Device" - These files will always be on the machine.
  2. ** "Free Up Space" - These files by default appear only in the Cloud.
  3. ** Files with neither of "Always Keep On Device" nor "Free Up Space", - In these cases the files are mainly on the machine (not in all cases), but I presume OneDrive decides when to free up space, and not store locally unless required, and when required, the "Files On Demand" feature will be utilised and retrieve the file.  However I have yet to find OneDrive documentation stating this is the case.
  • - By default (and without TrueImage issuing warnings etc), I would have expected all files which were locally stored on the machine at the time of a TrueImage drive backup to be available in the TrueImage drive backup.
  • - I had initially looked in the TrueImage backups, and I seen the files I wanted backed up, were present and reporting the correct sizes, and I had wrongly assumed TrueImage was correctly backing up the files/folders.
  • - It was not until I attempted to restore a file an from a TrueImage backup that I discovered there was a major issue.
  • - I will also note that the files that I am mainly interested in in the OneDrive Folder  are very large (GBs) container files, with thousands of internal files.  I have been satisfied in the manner in which OneDrive supports these large files, and if the machine has hard drive issue, I may only loose a few hours work.  However these container files could be corrupted (not an issue yet) or there may be another issue where recovery data from an older version is required.

After discovering the TrueImage/OneDrive issue, I went searching for information.
There is this  "Help" article alludes to be able to control the actions for OneDrive/clouds
https://www.acronis.com/en-us/support/documentation/ATI2021/index.html#…  
 
However I do not observe the settings described in the "Help" article in ATI2021 (Build 32010), so do not know if these are future settings or removed older settings.

I note there are OneDrive Cloud to Acronis Cloud backup options available (and that I have successfully trialled).
However this option is not ideal and not what I want.  This option only allows for all or nothing backup of all the data in the online OneDrive account. I do not wish to fully backup the OneDrive Cloud on the online Acronis Cloud. As many of the files on OneDrive are or irrelevant data, so I do not wish to add unnecessary cost to Acronis Cloud and be double paying for unnecessary cloud storage.  Though a solution of two different OneDrive accounts could potentially work, but is more cumbersome in other respects.

The suggestion made by IanL-S for the Files & Folders backup , I found to be a good suggestion,  following this suggestion:
- I have managed to make TrueImage perform a backup of folders and files from OneDrive using a Folder backup configuration.
- In this configuration I specifically avoided including folders which the machine did not have copies of the sub-files/folders locally, so where files were only in the OneDrive cloud.
- I was successfully able to restore files which were locally stored i.e. they were set to "Always Keep On Device" or the file was locally on the machine at the time of the backup.
- Files which were not set as "Always Keep On Device" nor "Free Up Space" and that were not on the machine at the time of the backup, and which I specifically did not exclude, were visible in the backup, attempts to restore them didn't result in zero size file, but did result in corrupted/non working files.  I did not expect backup of these files to work correctly.

This solution suites the intended use of the backup with one major issue outstanding.  TrueImage does not provide the Replicate feature for Folder backups, so the backup cannot be replicated in to Acronis Cloud without looking to additional solutions (i.e backing up/copying first to a drive, then backing up the drive) but I am loathed to spend this level of effort, to work around issues for non free software and services.

A solution of TrueImage being able to replicate folder backups (currently I quote "Only Entire PC/Entire Mac backups and disk/partition backups can be replicated to Cloud"), or if the Cloud to Cloud backup had options to be able to select which folders to backup would work around/solve many of the issues.
Admittedly, some of the OneDrive configuration settings are vague and or require assumptions to be made, and the manner in which OneDrive operates is obviously problematic to backup software systems such as TrueImage. 

However Acronis should highlight the OneDrive issues to users when TrueImage discovers OneDrive is present on a drive that is included in TrueImage backup, and advise the User of the issues, and link to information/solutions/workarounds to solve the issues, rather than have the user discover the issues when depending on a TrueImage backup. 

My initial assumption was that local files would be present in the TrueImage backup, and my initial check the files were present in the backup was not a sufficient enough check without actually attempting to restore/recover a file, as the TrueImage backup appears to further mask the issue by showing valid file sizes within the backup. Maybe there are improvements coming as noted in the 2021 "Help", but these settings do not appear to be present in the lasted build I am using, but it should be simple for TrueImage to detect the presence of OneDrive and advise/warn the user, and provide links to information to configure the backup(s) to meet the Users backup requirements.

Maybe there are others with similar experiences and alternative/improved solutions... but suspect there is the potential that there are many like me, who are unaware of the underlying and unadvised issues and may at some point discover crucial data is not being backed up as expected.

Adam, welcome to these public User Forums.

Thanks for sharing your experience & finding about using Acronis and OneDrive.

Please see KB 61362: Acronis True Image: Error when backing up or recovering OneDrive folder which has more detailed information on the issues encountered by Acronis when Files on Demand is used.

I would suggest using the Feedback tool in the ATI GUI to make your suggestion of providing a more visible warning to users if any backup tasks include OneDrive files, especially if it is determined that these involve reparse points to suggest Files on Demand is being used.