Koozali.org: home of the SME Server

(Resolved) Disk Archieve question

Offline tviles

  • ****
  • 197
  • +0/-0
(Resolved) Disk Archieve question
« on: November 09, 2008, 12:43:43 AM »
I added a 1TB drive on a pci sata card. Moved our Ibay over to it. Will this backup selection back it up.

Disk usage
     

Sat Nov 8 17:42:13 CST 2008


Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/main-root
                      132G   26G   99G  21% /
/dev/md1               99M   21M   74M  22% /boot
none                 1014M     0 1014M   0% /dev/shm
/dev/sdg1             917G   12G  859G   2% /mnt/tracy

 
I-bays Usage Path
Primary 20K /home/e-smith/files/ibays/Primary
police 0 /home/e-smith/files/ibays/police
opt 40K /opt

 




This is my backup selection below.

etc/e-smith/templates-custom
etc/e-smith/templates-user-custom
etc/group
etc/gshadow
etc/passwd
etc/samba/secrets.tdb
etc/samba/smbpasswd
etc/shadow
etc/smbpasswd
etc/ssh
etc/sudoers
home/e-smith
root
« Last Edit: November 13, 2008, 02:11:05 PM by tviles »

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: Disk Archieve question
« Reply #1 on: November 09, 2008, 08:20:36 AM »
If the 1tb drive is on /mnt/tracy, then probably not. Either mount /dev/sdg1 on /home/e-smith/files/ibays/[ibayname] or create a custom template to include /mnt/tracy.

Offline tviles

  • ****
  • 197
  • +0/-0
Re: Disk Archieve question
« Reply #2 on: November 09, 2008, 11:45:12 AM »
You are correct, I got the email this morning after the 3am backup and it did not backup all. I added /mnt/tracy and am redoing the backup now. Thanks, Tracy.

Offline tviles

  • ****
  • 197
  • +0/-0
Re: Disk Archieve question
« Reply #3 on: November 10, 2008, 12:08:41 PM »
And this is what I got back this morning.
Connecting /mnt/dar2/pdservback to //dave/ServerBackup Expanding /etc/dar2/pdservback template Creating /mnt/dar2/pdservback/shpdserver.shpd.local/pdservback/db.zip
Expiring old backups
Executing pre-backup event
Verbose logging is on
Performing pdservback backup
No terminal found for user interaction. All questions will be assumed a negative answer (less destructive choice), which most of the time will abort the program.
Parse error on command line (or included files): Cannot add an absolute path


I just added in /mnt/tracy to the top line for files to be included. Should I have added in /mnt/tracy/*

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: Disk Archieve question
« Reply #4 on: November 10, 2008, 08:22:38 PM »
What does your custom template look like?

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Re: Disk Archieve question
« Reply #5 on: November 11, 2008, 12:44:33 AM »
Parse error on command line (or included files): Cannot add an absolute path

I just added in /mnt/tracy to the top line for files to be included. Should I have added in /mnt/tracy/*

No. Both /mnt/tracy & /mnt/tracy/* begin as an absolute path. Enter: mnt/tracy

Darrell

Offline tviles

  • ****
  • 197
  • +0/-0
Re: Disk Archieve question
« Reply #6 on: November 11, 2008, 01:29:52 AM »
OK I changed it from /mnt/tracy to mnt/tracy thanks for the help. I will know tomorrow morning when I check my email.

Offline tviles

  • ****
  • 197
  • +0/-0
Re: Disk Archieve question
« Reply #7 on: November 11, 2008, 01:36:51 AM »
Check this out. Not sure why it is doing this.
Disk usage
     

Mon Nov 10 18:35:10 CST 2008


Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/main-root
                      132G   26G   99G  21% /
/dev/md1               99M   21M   74M  22% /boot
none                 1014M     0 1014M   0% /dev/shm
/dev/sdg1             917G   16G  856G   2% /mnt/tracy
//dave/ServerBackup   150G   14G  136G   9% /mnt/dar2/pdservback
//dave/ServerBackup   150G   14G  136G   9% /mnt/dar2/pdservback
//dave/ServerBackup   150G   14G  136G   9% /mnt/dar2/pdservback
//dave/ServerBackup   150G   14G  136G   9% /mnt/dar2/pdservback

 

Offline tviles

  • ****
  • 197
  • +0/-0
Re: Disk Archieve question
« Reply #8 on: November 11, 2008, 01:13:47 PM »
Thank you, I got the email from DAR this morning - all of the officers Z drives and the new mnt/tracy police Ibay is on the backup now. I can breath easier now. The server is the only place they are allowed to keep reports on. Thanks again. Tracy
Oh and yes I know that backing up a 1tb drive to an 150 gb external usb drive is only going to last for so long but I can upgrade that usb drive easily some day. T.