Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Plugins/Modules/Addons

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #141  
Old 5th December 2011, 01:55
nokia80 nokia80 is offline
HowtoForge Supporter
 
Join Date: Apr 2009
Posts: 187
Thanks: 30
Thanked 2 Times in 2 Posts
Send a message via Skype™ to nokia80
Default

it is possible to script the backup files to be sent via ftp or ssh ???
Reply With Quote
Sponsored Links
  #142  
Old 14th December 2011, 18:44
go0ogl3 go0ogl3 is offline
Member
 
Join Date: Jul 2008
Posts: 73
Thanks: 5
Thanked 39 Times in 6 Posts
Default

Quote:
Originally Posted by nokia80 View Post
it is possible to script the backup files to be sent via ftp or ssh ???
Short answer: Yes!

If you want to do that without modifying the script use a mount point which is over the network, samba, nfs, ssh, ftp, etc.
Another solution is to transfer the backed up files after the back-res script has done his job.
__________________
__________________
go0ogl3
--
Keep your work safe. Better backup than sorry! Download the latest version of the backup and restore script. See more info here.
Reply With Quote
  #143  
Old 16th December 2011, 18:36
(O)fer_cz (O)fer_cz is offline
Junior Member
 
Join Date: Sep 2011
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

can i somehow backup websites separately with this great script?
__________________
IBM Server x3550 797841G, VMWare ESXi 5, Debian 6 Squeeze, ISPConfig 3, multi-server setup
Reply With Quote
  #144  
Old 22nd December 2011, 19:32
anhlqn anhlqn is offline
Junior Member
 
Join Date: Apr 2008
Location: U.S.
Posts: 13
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by (O)fer_cz View Post
can i somehow backup websites separately with this great script?
Hi,

I have another script with Differential backup for ISPConfig sites which I modified from oZimbraBackup script.

It provides full and differential backup for websource, full backup for all databases, upload backup to another server via ftp.

Download: http://www.mediafire.com/?5looz46d3ado94l

Last edited by anhlqn; 22nd December 2011 at 20:13.
Reply With Quote
  #145  
Old 22nd December 2011, 19:42
anhlqn anhlqn is offline
Junior Member
 
Join Date: Apr 2008
Location: U.S.
Posts: 13
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi go0ogl3,

I have 2 ISPConfig server named server1.test.com and mirror.test.com (which mirrors ISPConfig config from server1).

On the server1, I only backup these directories plus all databases dump:

Quote:
File = "/etc"
File = "/root"
File = "/usr/local/ispconfig"
File = "/usr/share/phpmyadmin"
File = "/var/www"
File = "/var/log"
File = "/var/named"
I tried to exclude the /usr because it take so much space.
The ISPConfig on server1 can be successfully restored with the backup set I used.
After restored, server1 and mirror still replicates.
Can you check if we can safely exclude the /usr and some other directories from your backup script?

Tks,
Anh

Last edited by anhlqn; 22nd December 2011 at 20:13.
Reply With Quote
  #146  
Old 24th December 2011, 07:17
anhlqn anhlqn is offline
Junior Member
 
Join Date: Apr 2008
Location: U.S.
Posts: 13
Thanks: 0
Thanked 1 Time in 1 Post
Default

I currently use Bacula to backup ISPconfig server. I can easily restore the ISPConfig configuration and websites without having to reconfigure the permission for sites.

Anh
Reply With Quote
  #147  
Old 31st December 2011, 16:28
yanger yanger is offline
Junior Member
 
Join Date: Oct 2009
Location: Wisconsin
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by anhlqn View Post
I currently use Bacula to backup ISPconfig server. I can easily restore the ISPConfig configuration and websites without having to reconfigure the permission for sites.

Anh
any instructions for this? i see Bacula on sf, but there's not a lot of documentation
Reply With Quote
  #148  
Old 1st January 2012, 05:50
anhlqn anhlqn is offline
Junior Member
 
Join Date: Apr 2008
Location: U.S.
Posts: 13
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by yanger View Post
any instructions for this? i see Bacula on sf, but there's not a lot of documentation
Hi,

Can you tell me waht you need instructions for? Using Bacula? Or what you need to backup on ISPConfig server?
Reply With Quote
  #149  
Old 17th January 2012, 13:36
go0ogl3 go0ogl3 is offline
Member
 
Join Date: Jul 2008
Posts: 73
Thanks: 5
Thanked 39 Times in 6 Posts
Default

Quote:
Originally Posted by (O)fer_cz View Post
can i somehow backup websites separately with this great script?
Yes. You have to enter all the websites you wish to backup in
DIRECTORIES variable in the script. Example:

Code:
DIRECTORIES="/var/www/web1 /var/www/web2 /var/www/web3"
take care with the simlinks... tar backs up only the simlink, not the target content!
__________________
__________________
go0ogl3
--
Keep your work safe. Better backup than sorry! Download the latest version of the backup and restore script. See more info here.
Reply With Quote
  #150  
Old 17th January 2012, 13:42
go0ogl3 go0ogl3 is offline
Member
 
Join Date: Jul 2008
Posts: 73
Thanks: 5
Thanked 39 Times in 6 Posts
 
Exclamation

Quote:
Originally Posted by anhlqn View Post
Hi go0ogl3,

I have 2 ISPConfig server named server1.test.com and mirror.test.com (which mirrors ISPConfig config from server1).

On the server1, I only backup these directories plus all databases dump:



I tried to exclude the /usr because it take so much space.
The ISPConfig on server1 can be successfully restored with the backup set I used.
After restored, server1 and mirror still replicates.
Can you check if we can safely exclude the /usr and some other directories from your backup script?

Tks,
Anh
Hello,

If you can exclude the /usr it's only your decision. If you know you don't have anythin irrecuperable you can exclude as many directories as you like. For example I personnaly, if the space is tight, back up only the /etc, /www and the databases on some servers...
When it cames for the restore, I install the respective linux distribution, then restore the /etc /www and the databases over the fresh install.
Take care, if you have anything changed in other directories, you'll run into problems!
__________________
__________________
go0ogl3
--
Keep your work safe. Better backup than sorry! Download the latest version of the backup and restore script. See more info here.
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
freebsd 7, samba 3, domain controller alexdimarco Suggest HOWTO 6 5th November 2010 16:54
how to restore Ispconfig from backup db na0lb Installation/Configuration 4 24th September 2008 08:51
Restore backup ISPConfig leeeonardo General 4 18th April 2007 20:21
Restore ispconfig complete backup statiic General 1 15th January 2007 10:32
Backup restore on ispconfig misterm Installation/Configuration 0 18th December 2005 23:32


All times are GMT +2. The time now is 00:07.


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