Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Linux backup service with Glacier support [closed]

I`m using bacula + s3fs to make backups on S3 but it doesn`t support Glacier. Is there something like Bacula with Glacier support?

I need

  • different backup polices (FULL,INCREMENTAL ... e.t.c.)

  • edit backup jobs from single place

  • monitoring of backup job status

P.S. Backup of remoted servers will be good :)

like image 638
glebiuskv Avatar asked Jul 25 '13 09:07

glebiuskv


1 Answers

This question appears to be off-topic. Especially if you expect:

  • A software recommendation
  • A completed software solution

Your question would receive more attention on: Server Fault


I recommend to use bacula because:

  • You're obviously already familiar with it
  • It supports your requirements
  • It supports additional encryption which is recommended to store your data on aws

We are using a python script wich get fired periodically using cron. You may run the script also after any job using RunScript.

The main concept is to use each volume once. After the desired volumes are marked as used, upload them to amazon glacier.

Our script does:

  1. Fetch the PoolId's of the desired Pools from bacula.Pools. We only upload full backups.
  2. Fetch MediaId's from Media with VolStatus=Used and PoolId is one of the previous
  3. Write MediaId's to a new table (eq: MediaArchive) wich keeps the state of processed glacier uploads.
  4. Upload the file Media.VolumeName using boto (create_archive_from_file)
  5. On success, save the archive id to your MediaArchive. Otherwise restart the upload.
like image 136
jgb Avatar answered Nov 04 '22 00:11

jgb