Servoy Server Backup

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

Servoy Server Backup

Postby nromeou » Mon Nov 22, 2010 2:14 pm

Hi,
I'm in need of performing a backup on my Servoy Server.
The workaround was to do a backup of the full server hosting the Servoy Server, but the ideal is to backup only the databases and the solutions running on the server.

To do a backup on the databases it should be enough to copy the database file or do a backup from sybase central or its counterpart in postgre.

The main issue is I don't know how to perform a backup of the solutions loaded in my server.
Is there a way to get those solutions??
I wasn't able to find any trace of .servoy files in the application server folder, just the example ones.

Could someone point me to the right folder??

Is there a better way of doing the backup other than copying files manualy??

Thanks for your time.

Cheers
nromeou
 
Posts: 215
Joined: Fri Sep 18, 2009 8:38 pm
Location: Montevideo, Uruguay

Re: Servoy Server Backup

Postby ngervasi » Mon Nov 22, 2010 2:19 pm

The solutions are stored in the Repository database so if you include that db in your backup you should be fine.
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1487
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: Servoy Server Backup

Postby ROCLASI » Mon Nov 22, 2010 2:38 pm

nromeou wrote:To do a backup on the databases it should be enough to copy the database file or do a backup from sybase central or its counterpart in postgre.

Just be aware that in PostgreSQL (or call it Postgres since it was the successor of Ingres) you don't have a database file like Sybase has. Instead it has a 'database cluster' which is in fact a collection of files and directories which holds all your databases. It's not recommended to backup these files (or at least make sure Postgres is not running and you know what you're doing) but use the commandline tools pg_dump/pg_dumpall to make a backup file. The DBA tool PgAdmin uses these tools as well but provides you an easy GUI for it.
Also I posted an easy shell script for backing up all your databases in your cluster with a dumpfile per database.

Hope this helps.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Servoy Server Backup

Postby Thomas Parry » Mon Nov 22, 2010 3:05 pm

Robert, your script looks useful - any tips on how to make it work on win7?
Tom Parry
Prospect IT
Java/C++/Servoy/Jasper Reports/Simulation/Service Applications
http://www.prospect-saas.biz
Thomas Parry
 
Posts: 498
Joined: Thu Jan 10, 2008 8:48 pm
Location: Ottawa, Canada

Re: Servoy Server Backup

Postby nromeou » Wed Nov 24, 2010 5:27 pm

Thanks to all, this info was really helpful. :D
nromeou
 
Posts: 215
Joined: Fri Sep 18, 2009 8:38 pm
Location: Montevideo, Uruguay


Return to Servoy Server

Who is online

Users browsing this forum: No registered users and 3 guests

cron