Whole Disk Backup 2.0 released

I was referring to the ftp server or samba server running on my desktop (backup machine for PiaF) not on the PiaF machine. I don't need the ftp server on my desktop, but it's where I want to copy the backup files.

I wasn't aware of the batch job limitations. I just knew that I could sftp into my desktop from PiaF to transfer the files, and I didn't want to install the ftp server (in reality, I can't get the server demon to run on my desktop, and I don't want to invest any more time to find out why!)
 
Why couldn't you scp the files or use rsync with ssh? With proper ssl keys in place no logins required. Assuming the desktop machine is available with proper firewall setup, etc. If you can ssh in either direction you should be good to go. That may be preferable to ftp in any case.
 
If you have the proper ssl keys in place, you should be able to configure SFTP to connect without any user input.
 
Is is normal to get this error message in the in the log file?

ERROR!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An error has occurred! The mondorescue iso does not exists in
/var/cache/mindi. You may not have the ability to restore this backup! if you have an error on the first mondorescue-1.iso
Please check the rest of this log for a reason!
 
Is is normal to get this error message in the in the log file?

ERROR!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An error has occurred! The mondorescue iso does not exists in
/var/cache/mindi. You may not have the ability to restore this backup! if you have an error on the first mondorescue-1.iso
Please check the rest of this log for a reason!
you are not using the latest version of the backup software. This error is non critical anyways as you can boot from the first disk of the backup set. if you are using the current 2.0 version (remember to remove the old version in /etc/cron.weekly first) and are still having this problem then you have more problems than meet the eye.

tom
 
you are not using the latest version of the backup software. This error is non critical anyways as you can boot from the first disk of the backup set. if you are using the current 2.0 version (remember to remove the old version in /etc/cron.weekly first) and are still having this problem then you have more problems than meet the eye.

tom

You were correct, I installed the latest version and the errors are gone. thx.

Also I did notice that the script removes any old iso files for the ftp server (/home/darrell/ASTERISK_BACKUP). I created a sub directory on the FTP server called "Archive" and copied my backup iso files there. After running the backup script again, the iso files were deleted from /home/darrell/ASTERISK_BACKUP and /home/darrell/ASTERISK_BACKUP/Archive. I ended up changing permissions archive directory to stop this from happening.

Is there any why to create the iso files with a date stamp and always keep four copies for backups on the ftp server? This is why, if I made some changes on a Saturday then found out on Sunday something wasnt right, my backups from last week would have been over written.

thx
 
sure you can write a script that will do that Run it on the server once a week on a monday and you should be able to move things around based on date or time.

Tom
 
Moved?

Has the script location for this moved? I tried to install and could not find it.
Thanks
 
Thanks Tom, sorry to be unclear, you are correct though and the os is XP Pro. Shared folder has no username or password.

When I try
mount -t cifs //172.17.1.148/demo -o /mnt/smbshare username=,password=
I get mount error: can not change directory into mount target username=,password=
 
Thanks Tom, sorry to be unclear, you are correct though and the os is XP Pro. Shared folder has no username or password.

When I try
mount -t cifs //172.17.1.148/demo -o /mnt/smbshare username=,password=
I get mount error: can not change directory into mount target username=,password=
To the best of my recollection you have to have a password under XP. Use the name you logged into the box with and make sure it deso not have a blank password. Seems to me somewhere in the recesses of my mind I remeber a problem like this and we simply created a new user with a password under start settings control panel - administrative tools - comuputer management - users and groups - users. Add new user and password.

Change your stuff on the unix box to use the username and password.

Of course if you are running XP Home instead of pro my only suggestion is to throw the machine out the window.

You could always scrub XP and install a *real* os like linux 8^)

Tom
 
I tried the username & password but still gives the unable to mount error.
Just so I am clear, I don't need to install samba client or something on the XP Pro right? Just on the Piaf?
Thanks for the help
 
Error 404

I can connect to the site but the URL listed in the install instructions gives me an Error 404 not found.
Thanks,
 
I tried the username & password but still gives the unable to mount error.
Just so I am clear, I don't need to install samba client or something on the XP Pro right? Just on the Piaf?
Thanks for the help
Ths program installs all of the required software. If you can't connect to an xp box I suggest perhaps there is something wrong with the configuration of the XP box. Sorry I don't work on windoze stuff anymore so not sure where you need to go from here. The software was built around connecting to a W3K server box and never had any problems other than kerberos connectivity. If you ahve a spare machine or vmware set up a centos box with samba and see if you can connect. Bet you will be able to.

Tom
 
Daily Backup Ok - Whole Disk Backup Isn't

I've got the Daily backup working a treat to an SMB share. Not so with the Weekly BackUp.

I get the same error if I run the cron file, or using monoarchive from the CLI and the following is from the log from running /etc/cron.weekly/disk-backup.cron to the SMB share:-

afio: "//tmp.mondo.11378/tmp.mondo.6726/tmpfs/347.afio.bz2" [offset 46m+896k+0]: No space left on device

and from the cron job CLI:-

afio: Ready for volume 2 on //tmp.mondo.11378/tmp.mondo.6726/tmpfs/347.afio.bz2
afio: "quit" to abort, anything else to proceed. >

If I press any key to continue the cron file just exits, or nothing if mondoarchive at the CLI is being used.

Yet there is 1T available on the SMB share, and if I use DVD-RW from running mondoarchive manually, it just won't either a/ verify the first disk, or b/ write to a second disk.

Both emergencyboot.iso and mondorescue.iso have been written to the SMB share.
 
The daily backup generates tiny files. The whole disk generates huge files. I have not seen his particular message before. It seems you are using a current version of the program so I would suggest you head over to the mondoarchive forum and post this question. You can also try doing a yum update as you should have the mondo repo installed and see if there is a new version of the various mondo programs. There have been a few updates recently.

Because you are getting the error from both the cron job and the command line then the error must be with the mondo software as opposed to the control code we use to tell mondo what to do.

I assume on both the local and remote share that there is at least 3x the size of the largest file to transfer available? Generally locally for the files you will need at least 5gb free for the job to process depending on the complexity of the PIAF system.

I have had problems on some of my systems where I do a backup from a CF drive. Mondo will not work on them due to space limitations so I simply mirror the whole drive to a usb key using dd.


Tom
 
Thank You Thank You

I have recently accomplished the 2.0 backup and have since been able to "CLONE" 3 new machines. SWEET!
 
I'm convinced that I need to install this software for backups, but after reading this thread and the install instructions, I have a few questions:

1. If I select DVD as the backup type, will it fill a DVD image before making a second image, or will the iso files be the same size as CDs? I'm looking to minimize the number of iso images to burn and that seems to be the implication of the instructions.

2. I use NFS to mount my server's /pub directory to all my machines in the house (no Windows machines here). The Documentation says it doesn't support nfs, but in reality the filesystem is mounted at boot time and would simply be a cp command. Is that possible?

3. My second choice would be to use scp or sftp instead of ftp (heck, I would probably use one of those two methods instead of the direct NFS mount). I saw mention of that in this thread...is that possible?

Thanks,
Troy
 

Members online

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top