Hi all!
First time I'm trying to sync from S3 to local dir and I'm running into
an error I don't understand.
jross@slony:/usr/local/src/s3cmd $ sudo /usr/local/bin/s3cmd
--config=/etc/scripts/.s3cfg --verbose sync s3://daily.postgresql.backups/ \
/backup/postgres_backups/fast_download/
INFO: Compiling list of local files...
INFO: Retrieving list of remote files for s3://daily.postgresql.backups/ ...
INFO: Found 292 remote files, 114 local files
INFO: Applying --exclude/--include
INFO: Verifying attributes...
INFO: Summary: 179 remote files to download, 0 local files to delete
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please report the following lines to:
[email protected]
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Problem: OSError: [Errno 22] Invalid argument:
'/backup/postgres_backups/fast_download/wykids_backup20100808.sql.gz'
S3cmd: 1.1.0-beta3
Traceback (most recent call last):
File "/usr/local/bin/s3cmd", line 1800, in <module>
main()
File "/usr/local/bin/s3cmd", line 1741, in main
cmd_func(args)
File "/usr/local/bin/s3cmd", line 967, in cmd_sync
return cmd_sync_remote2local(args)
File "/usr/local/bin/s3cmd", line 770, in cmd_sync_remote2local
raise e
OSError: [Errno 22] Invalid argument:
'/backup/postgres_backups/fast_download/wykids_backup20100808.sql.gz'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please report the above lines to:
[email protected]
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
So, what's the problem with the filename?
It isn't permissions on the directory--I chmod-ed that to 777.
Thanks,
Jeff Ross
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
S3tools-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/s3tools-general