S3 backups wont allow paths

If I create a S3 backup using /bruce-office/%m-%d-%Y VM refuses to alow that and gives a error that slashes aren't allowed in bucket names... how ever its not thinking correctly as the slash is simply a path just like any other backup location allows.

This is really a bad idea to not allow paths be defined.

Status: 
Closed (fixed)

Comments

A bucket name can't contain a / .. but you should be able to enter a filename with a / in it.

Or are you trying to backup each domain to a separate file, but using paths within the bucket like :

stuff/foo.com.tar.gz
stuff/bar.com.tar.gz

That isn't well supported currently ..

Yes exactly thats what I want to do.

I use my corporate account to store my clients backups and want to place each clients under their own bucket path so I thought my path should work but didn't.

bruce-office/%m-%d-%Y VM

Be nice if it did though afterall it is supported at Amazon S3

I will look into adding support for this in the next release - it shouldn't be too hard.

This has been implemented, for inclusion in Virtualmin 3.93.

Automatically closed -- issue fixed for 2 weeks with no activity.

It's still not working.

For the backup setting "Path under bucket" I used "yoga-shop" and it did not store it there... in fact when it did upload it it went no place as far as I can tell and when I test the restore feature for that backup log it says can't find bucket name.

Could you post a screenshot of your backup form so I can see exactly what settings you are using?

Which backup format did you select - a single file, or one file per domain?

That's odd, it works OK for me... would it be possible for you to post the full output from the backup process?

Starting backup of 18 domains to /office/%m-%d-%Y on FTP server u47170.your-backup.de, yoga-shop in Amazon S3 bucket bruce-office-%m-%d-%Y ..

Ahhh I figured it out. The new settings are a bit backwards.

The old way used the first path as the bucket name but the new way is the opposite.

The first path for us is now yoga-shop and the second path is bruce-office-%m-%d-%Y.

I propose you make a slight change in the layout and put both paths fields on one line so it logically looks correct.

That's a good suggestion .. I will look into combining that into a single field when I add Rackspace cloud files support to the backup functionality.

Automatically closed -- issue fixed for 2 weeks with no activity.