HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Newb: Please advise me on good working practices (http://www.howtoforge.com/forums/showthread.php?t=36949)

Slowhand 24th June 2009 10:15

Newb: Please advise me on good working practices
 
Hi,

The more time I spend on my Ubuntu 8.04 LTS + ISPConfig3 server (I only have the one server), the more petrified I become of screwing something up, not being able to clear up the mess and having to start all over again.

Can you help me establish some sensible working practices?

1) How do you set up test sites/sandboxes where you can mess about until things work and then efficiently move your work to the 'production' side?

2) What is the best way to take a snapshot of my server so I can 'roll back' to a previous state if I make a screwup?

3) Does it make sense to 'hard link' my config files and php.ini files to a separate folder and make regular backups of this folder?

Which files are the crucial ones on a mail/web server? (LAMP, Postfix, Courier)

Any other basics I should know on this topic?

Appreciate your advice :)

Slowhand

falko 25th June 2009 15:25

Quote:

Originally Posted by Slowhand (Post 196204)
1) How do you set up test sites/sandboxes where you can mess about until things work and then efficiently move your work to the 'production' side?

I usually do this with a virtual machine (VMware Server or VirtualBox) in my office.

Quote:

Originally Posted by Slowhand (Post 196204)
2) What is the best way to take a snapshot of my server so I can 'roll back' to a previous state if I make a screwup?

If you use LVM, then I'd use LVM snapshots (see http://www.howtoforge.com/linux_lvm_snapshots ). But there are also other solutions in the "Backup" category.

Slowhand 25th June 2009 22:55

Quote:

Originally Posted by falko (Post 196386)
I usually do this with a virtual machine (VMware Server or VirtualBox) in my office.

If you use LVM, then I'd use LVM snapshots (see http://www.howtoforge.com/linux_lvm_snapshots ). But there are also other solutions in the "Backup" category.

Falko,

Thanks for that. I think I'll stick to good backups as my brain won't stand trying to learn about VM's on top of everything else :)

S


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

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