Re: Automated website backup with rsnapshot

I'm just using mysqldump on the live database (if there's any problem with that, someone tell me as I've been doing it for years!).

You can however run scripts with rsnapshot and do the database backup that way with a high degree of control. I only really need a daily backup so I kept the process separate.

The hot standby is a great idea. I agree about testing the backups - I keep a local copy of the site on my PC, and part of the routine is to restore the backups there and verify that they are in working order.

I also like to keep a weekly copy on DVD stored in time series. That way you do get additional physical copies of the files. One potential weakness of the snapshots is that there is only a single copy of the files on the backup disk - so corruption or problems with bits of the disk are potential issues.

Topic


Re: Automated website backup with rsnapshot

Do you do a hot backup of the database or do you shut it down?

As a little side note, we use snapshots on Netapp filers as the basis for our entire backup scheme of all of our financial systems. The concept is simply the best when it comes to doing backups and restores, hands down.

I think you could also take it the next step which is to create a hot standby if you so desired. Might also be interesting to use that same concept for your development environment.

Watch that disk space and test your backups,or uhhh restores!

Seth

XAMPP for Mac
PHP 5.2.9
MySQL 5.1.33
Apache 2.2.11

They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety.

Ben Franklin
Topic


Re: Automated website backup with rsnapshot

Any modified files will be copied into the next snapshot and the old versions will be de-linked. So the newest snapshot is always a replica of the target file system.

However, older versions of the same files will still be available in the *older* snapshots until they are eventually rotated out. Files (and versions of files) aren't deleted from the backup disk until the last hard link pointing to them is deleted.

So it effectively gives you an automated time series of backups, and you can recover overwritten and corrupted files from older snapshots if you need to.

Topic


Re: Automated website backup with rsnapshot

Quote:


And if a file already exists somewhere on the backup disk, it doesn't make another physical copy of it, it just creates a hard link to the existing file, so it doesn't waste space.



what's it like in regard to files that have been edited since the last backup? would it detect that the files are different or would it just skip the file because it exists already in the backup?

Live as if you were to die tomorrow, Learn as if you were to live forever

The beauty of a living thing is not the atoms that go into it, but the way those atoms are put together!
Topic


Re: Automated website backup with rsnapshot

Seems to be a quite powerfull something. Thank you for sharing.

the german icms website : www.impresscms.de
Topic


Automated website backup with rsnapshot

I recently discovered rsnapshot, and I've never seen it mentioned in the forums here so I thought I'd throw in a plug for what is hands down the best backup tool I've ever come across. If you're sick of manually FTP'ing your whole site down to make a backup, this is worth a look.

From the HOWTO:

Quote:

rsnapshot is a filesystem backup utility based on rsync. Using rsnapshot, it is possible to take snapshots of your filesystems at different points in time. Using hard links, rsnapshot creates the illusion of multiple full backups, while only taking up the space of one full backup plus differences. When coupled with ssh, it is possible to take snapshots of remote filesystems as well.



Basically it does incremental backups at different levels (hourly, daily, weekly, monthly). It stores however many copies of each you want to keep and automatically rotates them via cron. And if a file already exists somewhere on the backup disk, it doesn't make another physical copy of it, it just creates a hard link to the existing file, so it doesn't waste space.

The practical upshot is like this: I used to manually tar and download my entire website file structure and database once a week to archive on DVD. That's a 2 gig download taking 12 hours or more. Now I've got an incremental update automatically downloaded to a backup server every 4 hours in less than 90 seconds. It's there waiting for me and my DVD when I get to work. If I need to grab yesterday's database, or last week's or last month's, its there on the backup server (older - go dig through the CD album!).

I also have separate cron jobs running on the webserver - one dumps the database ready for pickup just before rsnapshot runs on the backup server - and another one deletes it afterwards.

Abandon thy manual FTP jobs I say!!!

Topic


Re: tiny MCE does not seem to work?

Goodie!

it still doesnt seem to pop up in XFguestboook, but thats perfectly fine, i just wanted abit more for the content editors and publishers for the site

thanks!

Topic


Re: tiny MCE does not seem to work?

I had the same problem but I forgot to set the group permissions

free impresscms themes
Topic


tiny MCE does not seem to work?

Hi, im trying to set up a new site, i put tinymce as the default editor and saved, but its nowhere to be found


 


not in the admin sections, not in my guestbook, not in smartsections, or anywhere


whats going on, or what did i miss

Topic


Re: Translating Documentation (Parts of it)

  • 2009/5/18 21:17:46
  • ep98

Smarty is translated already, I mean something with FCK or tinyMCE for maintaining multi-lingual documentation site.

May The Source Be With You !
Translations & Web Design
ImpressCMS Bulgaria
CMS Bulgaria - Translation, Templates, Support, Hosting
Topic


Re: Translating Documentation (Parts of it)

Quote:


ep98 wrote:
Hmmm, so no actual documentation atm ?



Yes, there is - http://wiki.impresscms.org/index.php?title=Smarty

Steve Twitter: @skenow Facebook: Steve Kenow

Topic


Re: Translating Documentation (Parts of it)

  • 2009/5/18 13:26:40
  • ep98

I've already answered your email, for sure I will help with everything I can.

I'm thinking from very long time for a thingy, a module (don't create any more sub domains) which a Freelance subject, eg.:

User requires a module from XOOPS to be ported to ICMS, or another PHP application (component for Joomla!) to be ported into ICMS.

XOOPS will go to nowhere, they're keep continue to lay on the rule "Silence is Golden" and which such activity will not move anywhere.
XCL (EN) is created and maintained by one crazy man who ask himself and answer on his question, he quote himself everywhere - this means .... Lunatic (or how was the right word).
RunCMS is almost dead.
EXM is in state frozen.
ExV2 is german - most of them reject to use English.
Samsara is PHP4 strict, dead to me.

And only ICMS remains with friendly community, but small and not much active and this have to be changed soon :).

With such Freelance project, you can grow faster, and u can get some good sum of donations.

Eg. I need jDownloads (demo on http://addonsbg.eu/index.php?option=com_jdownloads&Itemid=25&task=viewcategory&catid=55), with the same administration. And I can pay up to 50 EURO for such module for ICMS, another user will require extra custom fields and may add 20 euro, third user may ask something else with different sum.

And in this way ICMS will be a real community driven project, users ask, developers make - and everyone is fine.

And a lot of other things to make ICMS to grow in Joomla! way (not the same stupid CMS without ACL), but with same speed, for about a year, everything else even Mambo left behind Joomla 1.0.

In this way of thinking, what means MVC, IPF to the end user, nothing really :)

J 1.5 MVC gives greats feature to developers
ICMS 1.2 IPF gives greatest features to developers

Both remains the same in the end line, most of the extensions are still with lack of features, tons of bugs and in the end for the end user, to give a solution to client request or just a solution to given challenge left nothing, but using up to 10 different systems for maintains a simple task .

Dolphin 6 - Yogurt 10.0 (2015 year)
ICMS 1.0.0 "Janus" - ACL and built in ML (best core around)
Joomla! - Themes
PaFile - Downloads section
MyBB - NewBB or iForum 15.0 (somewhere in 2025)
Links - imLinks stability with Web Links features (far, far away in the future)
Gallery - Webphoto futures wich stability of CPG 1.4 (even can't dream for a date)
P2P Tracker like TB Dev with the ACL of ICMS 1.0 (X-Torrent is far, far away from what should be one torrent tracker)
AJAX everywhere where is possible (dreams, dreams)
Global Categories - Xaraya, but understandable Xaraya after 5.0 (somewhere around 2142)
Blogs - Nucleus
News - Xigg 3.0 (around next era), with no more GNU Gettext

This are the most things for creating community portal, and this things can't be done with one core yet.

May The Source Be With You !
Translations & Web Design
ImpressCMS Bulgaria
CMS Bulgaria - Translation, Templates, Support, Hosting
Topic


Re: Translating Documentation (Parts of it)

Yes, documentation is being worked on at the moment.
We need more people to help us with the documentation.

Maybe you would like to help too?

Topic


Re: Translating Documentation (Parts of it)

  • 2009/5/18 5:59:13
  • ep98

Hmmm, so no actual documentation atm ?

May The Source Be With You !
Translations & Web Design
ImpressCMS Bulgaria
CMS Bulgaria - Translation, Templates, Support, Hosting
Topic


Re: Translating Documentation (Parts of it)

  • 2009/5/18 1:58:20
  • david

We'll be moving from the mediawiki based site in the near future to a proper Impress Module

Topic


Translating Documentation (Parts of it)

  • 2009/5/17 23:28:36
  • ep98

I'm wondering how this (SMARTY Tags for ICMS) can be placed in some (I'll repeat myself again) easy to use, user friendly application.

I'm proud KDE 4/Windows 7 user, and I like all things to be easier like my desktops.

Current external apps like Trac (damn this bug tracker) and Wiki (what's supposed to be this) - a well sorted Knowledge Database Manager or the ugliest ever attempt.

I wish to translate and will, the important parts of ICMS documentation, but can't see a way to learn PHP, Wiki syntax, Trac management and tons of other thingies u will add in future. Why all 3rd party addons to this project are not easier like Impress itself.

May The Source Be With You !
Translations & Web Design
ImpressCMS Bulgaria
CMS Bulgaria - Translation, Templates, Support, Hosting
Topic


Re: editors not working in news module

Quote:

You also need to allow the group to use the WYSIWYG editor for the News module:
>>Administration Menu > System Admin > Groups : Edit your selected group and check the modules where the wysiwyg editor will be enabled for that group.

Repeat for other groups, as necessary


And we need to put that in some sort of documentation. The need to give groups rights to use certain editors must have been in a readme somewhere. Let's move it forward to our Wiki.
This is probably the third time a thread on this subject has come up. I've ran into it myself too.

Topic


Re: editors not working in news module

Quote:


McDonald wrote:
If the editor for News can be set in the News Preferences set it to DHTML.
Now set in the General Settings (ImpressCMS) the default editor to use. If you set it to TinyMCE it should automatically 'replace' the DHTML editor as set for News.



You also need to allow the group to use the WYSIWYG editor for the News module:
>>Administration Menu > System Admin > Groups : Edit your selected group and check the modules where the wysiwyg editor will be enabled for that group.

Repeat for other groups, as necessary

Steve Twitter: @skenow Facebook: Steve Kenow

Topic


Re: editors not working in news module

  • 2009/4/23 16:52:22
  • JeffC

solves that problem.
Thanks

Topic


Re: editors not working in news module

  • 2009/4/23 16:22:48
  • Will

ICMS requires php5.

Topic



 Top