Joomla Backup

Still working on trying to get a backup

I decided to test in another instance that had work done it by and end user but is not live.

Running ruby /jumpbox/application_portal/privileged_scripts/ubuntu/app.rb run_backup_real /var/data/backup/test.tgz

results in a no space left on device error message. The df command shows 70% for /dev/sda1 used so it should have room. All other file systems are less than 3% used.

At least we have error messages to work from. Any suggestions on what I should try?

root@burris:/var/log# ruby /jumpbox/application_portal/privileged_scripts/ubuntu/app.rb run_backup_real /var/data/backup/test.tgz
mktemp: cannot make temp dir /var/data/backup/tmp.vqsceA8536: No space left on device
/usr/lib/ruby/1.8/fileutils.rb:1388:in `fu_list': undefined method `to_str' for nil:NilClass (NoMethodError)
from /usr/lib/ruby/1.8/fileutils.rb:1388:in `map'
from /usr/lib/ruby/1.8/fileutils.rb:1388:in `fu_list'
from /usr/lib/ruby/1.8/fileutils.rb:605:in `rm_r'
from /usr/lib/ruby/1.8/fileutils.rb:634:in `rm_rf'
from /jumpbox/application_portal/privileged_scripts/ubuntu/lib/backup.rb:826:in `run_backup_real'
from /jumpbox/application_portal/privileged_scripts/ubuntu/lib/utils.rb:176:in `send'
from /jumpbox/application_portal/privileged_scripts/ubuntu/lib/utils.rb:176:in `execute_method'
from /jumpbox/application_portal/privileged_scripts/ubuntu/app.rb:91
root@burris:/var/log# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 987987 653681 284105 70% /
varrun 127836 180 127656 1% /var/run
varlock 127836 0 127836 0% /var/lock
udev 127836 40 127796 1% /dev
devshm 127836 0 127836 0% /dev/shm
/dev/sdb1 10317828 224832 9568880 3% /storage

When running the following to

When running the following to store the file on /storage which has 9.2G available I get the same general error but different details.

root@burris:/storage# df -h .
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 9.9G 220M 9.2G 3% /storage

root@burris:/storage/backup# ruby /jumpbox/application_portal/privileged_scripts/ubuntu/app.rb run_backup_real /storage/test.tgz

/usr/lib/ruby/1.8/fileutils.rb:1262:in `initialize': No space left on device - /jumpbox/restored-state.xml (Errno::ENOSPC)
from /usr/lib/ruby/1.8/fileutils.rb:1262:in `open'
from /usr/lib/ruby/1.8/fileutils.rb:1262:in `copy_file'
from /usr/lib/ruby/1.8/fileutils.rb:1261:in `open'
from /usr/lib/ruby/1.8/fileutils.rb:1261:in `copy_file'
from /usr/lib/ruby/1.8/fileutils.rb:463:in `copy_file'
from /usr/lib/ruby/1.8/fileutils.rb:383:in `cp'
from /usr/lib/ruby/1.8/fileutils.rb:1395:in `fu_each_src_dest'
from /usr/lib/ruby/1.8/fileutils.rb:1411:in `fu_each_src_dest0'
... 6 levels...
from /jumpbox/application_portal/privileged_scripts/ubuntu/lib/backup.rb:820:in `run_backup_real'
from /jumpbox/application_portal/privileged_scripts/ubuntu/lib/utils.rb:176:in `send'
from /jumpbox/application_portal/privileged_scripts/ubuntu/lib/utils.rb:176:in `execute_method'
from /jumpbox/application_portal/privileged_scripts/ubuntu/app.rb:91

In doing some searching on

In doing some searching on the error message as it relates to vmware it could be a problem with the host vmware server. We had issues with upgrade to the latest centos and a possible vmware conflict with glibc that causes the vmware management interface to crash if you look at it wrong. Could be something related to the vmware host file system causing problems with the backup scripts because it thinks the filesystem is full.

If the sysadmin can get it resolved I will post more details.