Error restoring backup files

nour02

New member
Joined
Nov 29, 2009
Messages
4
Hi,
I'm getting this error when restoring an account in DA:

Unable to extract the directory 'backup' from the file /pdc/monthly/user.reseller.joksol.tar.gz as user joksol
/bin/tar: /home/joksol/backups: Cannot chdir: Permission denied
/bin/tar: Error is not recoverable: exiting now

gzip: stdout: Broken pipe

File '/pdc/monthly/user.reseller.joksol.tar.gz' was 68537020 bytes in size, as read by root.
Unable to read the backed up user.usage file: Can't get a lock on /home/joksol/backups/backup/user.usage


[root@jsp monthly]# ll user.reseller.joksol.tar.gz
-rw-r----- 1 admin joksol 66M Jul 5 23:13 user.cisco.joksol.tar.gz

Directory /home/joksol/backups doesn't exist (yet).

[root@jsp monthly]# chown joksol:joksol /home/joksol/
chown: changing ownership of `/home/joksol/': Disk quota exceeded
[root@jsp monthly]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 10G 6.2G 3.9G 62% /
none 384M 4.0K 384M 1% /dev

I'm on a VPS and
[root@jsp monthly]# rpm -q quota
quota-3.13-1.2.5.el5
[root@jsp monthly]# /sbin/quotaoff -a; /sbin/quotacheck -avugm; /sbin/quotaon -a;
quotaoff: quotactl on /dev/simfs [/]: Permission denied
quotaoff: quotactl on /dev/simfs [/]: Permission denied
quotacheck: Scanning /dev/simfs [/] done
quotacheck: Checked 8979 directories and 86333 files
quotaon: using //aquota.group on /dev/simfs [/]: Permission denied
quotaon: using //aquota.user on /dev/simfs [/]: Permission denied

Any hints or ideas on how to solve this issue ?

Thanks,
 
Hello,


Code:
# mkdir -p /home/joksol/backups
# chown joksol /home/joksol/
# chown joksol:joksol /home/joksol/backups/

and try restore again.

Show your

Code:
# mount

You might need to ask your hosting provider to enable secondary quotas fro your VPS, if you're using a OpenVZ VPS.
 
This is whate I get when running those commands :

Code:
[root@jsp ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/simfs             10G  6.1G  4.0G  61% /
none                  384M  4.0K  384M   1% /dev
[root@jsp ~]# mkdir -p /home/joksol/backups
[root@jsp ~]# chown joksol /home/joksol/
chown: changing ownership of `/home/joksol/': Disk quota exceeded
[root@jsp ~]# chown joksol:joksol /home/joksol/backups/
chown: changing ownership of `/home/joksol/backups/': Disk quota exceeded
[root@jsp ~]# mount
/dev/simfs on / type reiserfs (rw,usrquota,grpquota)
/proc on /proc type proc (rw)
/sys on /sys type sysfs (rw)
none on /dev type tmpfs (rw)
none on /dev/pts type devpts (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

I've asked my hosting provider to check quotas... hopefully they will do something soon.

Thank you,
 
Back
Top