Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th August 2006, 09:18
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,262
Thanks: 78
Thanked 24 Times in 20 Posts
Default problems with ftplicity (backupscript)

hello there,

I am using ftplicity accordingly to an article in a german newsmagazine to do my backup. It works fine except for one thing I do not understand. Its all about the first line of my report file:

Quote:
Error initializing file /var/lib/named/dev/log
Reading globbing filelist /root/.ftplicity/exclude
--------------[ Backup Statistics ]--------------
StartTime 1155607237.21 (Tue Aug 15 04:00:37 2006)
EndTime 1155607341.88 (Tue Aug 15 04:02:21 2006)
ElapsedTime 104.66 (1 minute 44.66 seconds)
SourceFiles 84784
SourceFileSize 3897665692 (3.63 GB)
NewFiles 4852
NewFileSize 50596647 (48.3 MB)
DeletedFiles 144
ChangedFiles 837
ChangedFileSize 140756228 (134 MB)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 5833
RawDeltaSize 68024442 (64.9 MB)
TotalDestinationSizeChange 17649956 (16.8 MB)
Errors 0
-------------------------------------------------

can anyone help with this? google yields no results for this :-(
Reply With Quote
Sponsored Links
  #2  
Old 16th August 2006, 16:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

What's the output of
Code:
ls -l /var/lib/named/dev/log
?
What's the output of
Code:
ls -l /dev/log
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 16th August 2006, 18:47
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,262
Thanks: 78
Thanked 24 Times in 20 Posts
Default

here are both answers

Quote:
h898552:~# ls -l /var/lib/named/dev/log
srw-rw-rw- 1 root root 0 Jul 17 00:28 /var/lib/named/dev/log
h898552:~#
Quote:
h898552:~# ls -l /dev/log
srw-rw-rw- 1 root root 0 Jul 17 00:28 /dev/log
h898552:~#
Reply With Quote
  #4  
Old 17th August 2006, 17:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Ah, now I understand. You try to back up /var/lib/named...
/var/lib/named/dev/log isn't a regular file, so this cannot be backed up. I think that's why ftplicity is complaining. If ftplicity is working (apart from this error), I'd ignore it.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 17th August 2006, 19:49
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,262
Thanks: 78
Thanked 24 Times in 20 Posts
Default

ahh. thx.

here is my exclude list:

Quote:
/dev
/proc
/sys
/tmp
/var/tmp
/var/run
/var/spool
does that look ok? the only thing I am not sure about is if I should not include /var/spool into the backup, but it was complaining there too.
I will add /var/lib/named into the exclude list or should I exclude the whole /var/lib directory?
Reply With Quote
  #6  
Old 18th August 2006, 14:53
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by Tenaka
I will add /var/lib/named into the exclude list or should I exclude the whole /var/lib directory?
I'd just add /var/lib/named/dev.
If you use mbox and want to back up your mailboxes, it's possible that the mailboxes are in /var/mail (with /var/spool/mail being a symlink to /var/mail), so they should be backed up.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 19th August 2006, 00:00
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,262
Thanks: 78
Thanked 24 Times in 20 Posts
Default

thx, I use maildir so mails are in /var/www/webxx/Maildir or /var/webxx/user/Maildir
Reply With Quote
  #8  
Old 19th August 2006, 14:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Then everything's fine.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 22nd August 2006, 11:01
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,262
Thanks: 78
Thanked 24 Times in 20 Posts
Default

one more question,

ftplicity states that it can execute certain commands before backing up and says as an example I could dump all databases before backing up....

in another thread here: http://www.howtoforge.com/forums/showthread.php?t=6237 I asked if I can modify the backup script of ispcfg to only backup dbs so that I would not have to modify ftplicity anymore, or what would be the easieast way to also backup databases using this combination of tools?
Reply With Quote
  #10  
Old 23rd August 2006, 15:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by Tenaka
or what would be the easieast way to also backup databases using this combination of tools?
That depends totally on you. Personally, I think I'd try to use the ftplicity way.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with groups/grpconv linuxfast General 28 21st April 2008 09:35
Empty Recycle Bin jon335 General 40 6th May 2006 11:56
Bind, Postfix and possibly more problems from "http://" domain entry LunarNexus Installation/Configuration 5 5th April 2006 15:50
Help! Real newbie having problems installing Linux t-kiss Kernel Questions 5 4th April 2006 15:14
Problems getting through the installation klausagnoletti Installation/Configuration 4 26th September 2005 12:23


All times are GMT +2. The time now is 13:29.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.