Backup issues under FreeBSD

3 posts / 0 new
Last post
#1 Tue, 03/29/2016 - 04:52
benh

Backup issues under FreeBSD

I've been trying to get the virtual server backup to work under FreeBSD but have yet to get it functioning adequately.

If I try any of the Unix style backups, that being gzip, bzip2 or tar I get a truncated archive whenever I try to extract the backup and of course the restore in Virtualmin fails as well. This appears to be an issue with whatever process is creating the underlying tar archive within the gzip and bzip2 archives.

I can get zip to work however it appears to consume all available disk space and fail under any regular user. The partition that the users are under currently has 5.8GB of free space which I would have thought would be more than sufficient for a 13MB archive. I did get this to run under an administrator account however could only get it to work under a partition that has 86GB free. How much ceiling do I need to use the .zip option?

Has anyone managed to get the backup feature to work under FreeBSD 10.x and if so how did you go about it?

Any suggestions on debugging this issue?

Tue, 03/29/2016 - 09:29
andreychek

Howdy,

What output do you receive when the package is performed? Could you paste that in here?

-Eric

Wed, 03/30/2016 - 01:48 (Reply to #2)
benh

It's odd. The truncated archive issue has gone however now it stops at Extracting TAR.. as per below when restoring the backup.

Extracting TAR file of home directory ..

It appears to wait here indefinitely. Looking at the processing running under the user shows the following idle process:

69527  -  I    0:00.08 /usr/bin/tar xvfX - /tmp/.webmin/521447_69500_2_restore.cgi (bsdtar)

I'm going through the logs to see if there is an error however so far I've found none.

If I kill the above process the restore finishes within Virtualmin however files are of course missing.

Topic locked