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?

2 Answers2

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.

Net Runner
  • 6,169
  • 12
  • 34
  • 2
    The original question was about backing up db backup files, but can I use this to backup the volumes of a running database server with MySql without interrupting operations? – Mathias Rönnlund May 17 '17 at 08:26
  • 4
    Most probably you will need a full Veeam B&R version for this. Check this guide https://www.veeam.com/wp-consistent-protection-mysql-mariadb.html – Net Runner May 25 '17 at 09:45
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.

Shui shengbao
  • 3,583
  • 1
  • 11
  • 20
  • 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 08:15
  • 2
    You could refer to this [feedback](https://feedback.azure.com/forums/258995-azure-backup-and-scdpm/suggestions/6178585-azure-backup-to-support-linux-workloads). You also could use the [script](https://lnx.azurewebsites.net/backup-encrypted-data-from-linux-servers-directly-to-azure-blob-storage/) to backup your file to Azure storage account. – Shui shengbao May 17 '17 at 08:23
  • 3
    If there is an option of using AWS instead of Azure you can use S3Fuse https://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 09:46