dizda / CloudBackupBundle

Be able to backup your database(s) and upload it to the cloud (Dropbox, Amazon S3, GoogleDrive, etc.)
MIT License
196 stars 57 forks source link

Support multiple gaufrette filesystems #71

Closed lemonlab closed 9 years ago

lemonlab commented 9 years ago

Hello,

Right now, the bundle support just one gaufrette filesystem at a time. Example :

dizda_cloud_backup:
    processor:
        type: tar
    cloud_storages:
        gaufrette:
            service_name: amazon_backup_filesystem  # Gaufrette filesystem service name

Is it possible to have more filesystems ? I would have for instance a local and a distant gaufrette filesystem like :

dizda_cloud_backup:
    processor:
        type: tar
    cloud_storages:
        gaufrette:
            service_name: 
                - local_backup_filesystem
                - amazon_backup_filesystem
dizda commented 9 years ago

Hello,

Sure it would be possible, personally I don't have time to make this feature, but feel free to send a PR.

lemonlab commented 9 years ago

Here is my first PR to an opensource project : https://github.com/dizda/CloudBackupBundle/pull/72

Please be indulgent :)

dizda commented 9 years ago

Thanks, I appreciate that your first contribution is on this project :+1:

lemonlab commented 9 years ago

This feature is now possible in 2.1.0 https://github.com/dizda/CloudBackupBundle/releases/tag/2.1.0