naototty / s3backer

Automatically exported from code.google.com/p/s3backer
GNU General Public License v2.0
0 stars 0 forks source link

S3Backer via Crontab #43

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add S3Backer mount command to crontab
2. Let it run automatically via cron
3. Get the error: warning: no accessId specified ...

What is the expected output? What do you see instead?
Mounted S3 Volume :)

What version of the product are you using? On what operating system?
S3Backer 1.3.7 / Ubuntu 12.04 LTS

Please provide any additional information below.
S3Backer works fine if i run it as sudo user. I also specified the the path to 
the access id file as a flag to the s3backer command and made sure the file is 
in place (i tried both the home of the user and /root).

Any help would be very appreciated :)

Original issue reported on code.google.com by chris.ko...@gmail.com on 31 Jul 2013 at 1:21

GoogleCodeExporter commented 8 years ago
Must be some kind of permissions/misconfiguration problem.

- What exact flags are you specifying? Use --accessFile if you're not already.

- Which crontab file are you using? A user's or root's (e.g. /etc/crontab)?

- Are you specifying the --accessFile filename using an absolute path?

Original comment by archie.c...@gmail.com on 31 Jul 2013 at 2:40