Backup And Restore Issues

niall_bk

Verified User
Joined
Nov 22, 2006
Messages
5
Hi,

We have a couple of customers who are suddenly having issues with doing backups and restores which can be split into two separate issues:

1. The Backup Script not keeping track of permissions and ownership
2. The Backup Script not being able to read/restore files from it's own backup.

I can understand 1. to a certain degree, although it should be easy to work around (txt file with dir tree and ownership in the backup would probably be the easiest method)

However, not being able to restore it's own backups is a major issue. The files in question have permissions like follows:

-rwx------ 1 user user 4096 Jul 28 2008 example

The problem is that when DirectAdmin unpacks the backup, the restore process can't read the files. This culminates in a lot of useless errors for the user.

Are these known issues? Are there any workarounds?

I have emailed support about this twice, but I haven't received a reply.

Niall.
 
Hi,

We have a couple of customers who are suddenly having issues with doing backups and restores which can be split into two separate issues:

1. The Backup Script not keeping track of permissions and ownership
2. The Backup Script not being able to read/restore files from it's own backup.

I can understand 1. to a certain degree, although it should be easy to work around (txt file with dir tree and ownership in the backup would probably be the easiest method)

However, not being able to restore it's own backups is a major issue. The files in question have permissions like follows:

-rwx------ 1 user user 4096 Jul 28 2008 example

The problem is that when DirectAdmin unpacks the backup, the restore process can't read the files. This culminates in a lot of useless errors for the user.

Are these known issues? Are there any workarounds?

I have emailed support about this twice, but I haven't received a reply.

Niall.

For the second option, try cmodding the folder (and its contents) to 777. That SHOULD fix it :S
 
Hello,

For permissions, the bacukp/restore system leaves it up to "tar" to maintain permissions. The p option is used to set this.

Regarding the 700 directories, the tar extraction is executed as the user himself, so I'm not sure what the exact issue would be there... depends on what you're referring to.. post restore, or during the restore.

If you don't get a reply from us, we either didn't get your email, or our email to you didn't arrive. Try sending to us from a different address, or else try https://www.directadmin.com/clients/safesubmit.php
as we do reply to everything.
 
Back
Top