4

Is it possible to backup individual files (i.e. database backups) from the disk of an on-premise Linux (CentOS) server to the Azure Recovery Services vault?

Do I need the Recovery Services agent and is that available for Linux?

Or is there a smarter way?

I could also make a script which would transfer my backup files to Azure blob storage. Can I then connect some Azure service to the blob storage so it would remove files according to some policy/schedule?

6

You can use free VEEAM B&R https://www.veeam.com/linux-backup-free.html to automate the backup process itself and upload your backups directly to Azure VM mounted as a backup repository or automate/script the upload with azure cli.

2

Is it possible to backup individual files (i.e. database backups) from the disk of an on-premise Linux (CentOS) server to the Azure Recovery Services vault?

No, it is not possible. Based on my knowledge, you could backup Linux VM VHD with Azure Recovery Services vault, but backup a single file is not supported. Because if you want to back up files and folders to Azure, you need install and register the Recovery Services agent. However, the agent does not support Linux VM now.

Please refer to backup file or folder and how to restore file or folder on Azure.

Do I need the Recovery Services agent and is that available for Linux?

For now, backup agent does not support Linux OS.

Or is there a smarter way?

You could use azure cli to upload Linux File to azure storage account. Please refer to this link. Azure cli is supported on a Linux VM.

  • Hi, how do you backup your Linux file to Azure storage account? I suggest you could write a script to upload to Azure storage account automatic. – Shui shengbao May 17 '17 at 8:15
  • 2
    You could refer to this feedback. You also could use the script to backup your file to Azure storage account. – Shui shengbao May 17 '17 at 8:23
  • 3
    If there is an option of using AWS instead of Azure you can use S3Fuse github.com/s3fs-fuse/s3fs-fuse which is backed by Amazon and allows you to mount a cloud storage bucket as a local drive on your Linux machine. Will do the job for sure. – Net Runner May 25 '17 at 9:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.