I am getting a small error when I am running the backups
I am using the cfbackup to backup my files to Rackspace Cloud files
cfbackup tool can be found here : GitHub - jmstacey/cfbackup: A simple ruby program intended to serve as a useful tool for automated backups to Rackspace Cloud Files.
My Ruby Version : ruby 1.8.7 (2012-06-29 patchlevel 370) [x86_64-linux]
My Gem Version : 1.8.24
My Rails version : Rails 2.3.14
===============
cfbackup --action push -v -r --local_path /backup/ --container test
Establishing connection… done.
There are 38 files to process.
(1/38) Skipping cpbackup
(2/38) Skipping cpbackup/monthly
(3/38) Pushing file
cpbackup/monthly/stayatad.tar.gz…/usr/lib/ruby/gems/1.8/gems/rackspace-cloudfiles-1.4.0.0/lib/cloudfiles/storage_object.rb:50:in
populate’: Object cpbackup/monthly does not exist
(NoSuchObjectException)
from
/usr/lib/ruby/gems/1.8/gems/rackspace-cloudfiles-1.4.0.0/lib/cloudfiles/storage_object.rb:175:inwrite’
from
/usr/lib/ruby/gems/1.8/gems/rackspace-cloudfiles-1.4.0.0/lib/cloudfiles/storage_object.rb:249:in
make_path’
from
/usr/lib/ruby/gems/1.8/gems/rackspace-cloudfiles-1.4.0.0/lib/cloudfiles/storage_object.rb:174:inwrite’
from
/usr/lib/ruby/gems/1.8/gems/rackspace-cloudfiles-1.4.0.0/lib/cloudfiles/storage_object.rb:196:in
load_from_filename’
from
/usr/lib/ruby/gems/1.8/gems/jmstacey-cfbackup-0.7.1/lib/cfbackup.rb:149:inpush_files’
from
/usr/lib/ruby/gems/1.8/gems/jmstacey-cfbackup-0.7.1/lib/cfbackup.rb:132:in
each’
from
/usr/lib/ruby/gems/1.8/gems/jmstacey-cfbackup-0.7.1/lib/cfbackup.rb:132:inpush_files’
from
/usr/lib/ruby/gems/1.8/gems/jmstacey-cfbackup-0.7.1/lib/cfbackup.rb:63:in
run’
from /usr/lib/ruby/gems/1.8/gems/jmstacey-cfbackup-0.7.1/bin/cfbackup:6
from /usr/bin/cfbackup:23:inload’
from /usr/bin/cfbackup:23
The script even breaks when multiple files are uploading in a folder.
the file uploads properly though… but i think because the script is
old and the server is having latest ruby installed, there is a mismatch.
Can you please let me know where is it going wrong…