Discussion:
FPC/Lazarus based backup system
ik
2011-08-21 17:30:37 UTC
Permalink
Hi,

Does any of you know of a good backup system written using FPC/Lazarus,
working inside Linux and open source ?

Thanks,

IDo


LINESIP - Opening the source for communication
http://www.linesip.com
http://www.linesip.co.il
Malcolm Poole
2011-08-21 17:58:49 UTC
Permalink
Post by ik
Does any of you know of a good backup system written using
FPC/Lazarus, working inside Linux and open source ?
Probably not exactly what you're looking for, but Dargui (
http://dargui.sourceforge.net/ ) is a front end for the Dar archiving
utility and is developed using Lazarus.

Malcolm

--
Michael Schnell
2011-08-22 10:39:59 UTC
Permalink
Post by ik
Hi,
Does any of you know of a good backup system written using
FPC/Lazarus, working inside Linux and open source ?
Why would you want this ? In most cases rsync does a perfect job. Doing
rsync with the help of Dirvish performs the backup perfectly automatic.

-Michael

--
ik
2011-08-22 10:38:17 UTC
Permalink
Post by Michael Schnell
Post by ik
Hi,
Does any of you know of a good backup system written using FPC/Lazarus,
working inside Linux and open source ?
Why would you want this ? In most cases rsync does a perfect job. Doing
rsync with the help of Dirvish performs the backup perfectly automatic.
To manage things in a more easy way.
Even a daemon for automated backups with rsync is good. but I do not want to
cli every time i need to backup. And I prefer Pascal programs then C/++
based. :)
Post by Michael Schnell
-Michael
Ido
Michael Schnell
2011-08-22 10:51:04 UTC
Permalink
Post by ik
To manage things in a more easy way.
Dirvish is _very_ easy. And the advantage of rsync is that it does an
incremental backup without the need for any restore tool. A file browser
just works for this
Post by ik
Even a daemon for automated backups with rsync is good.
You don't need a dedicated daemon. Chron is provided for this.
Post by ik
but I do not want to cli every time i need to backup. And I prefer
Pascal programs then C/++ based. :)
So you can't use Linux. rsync is just a standard gnu tool provided with
Linux. And Dirvish is just a script.

-Michael

--
Felipe Monteiro de Carvalho
2011-08-22 11:06:07 UTC
Permalink
Post by Michael Schnell
but I do not want to cli every time i need to backup. And I prefer Pascal
programs then C/++ based. :)
So you can't use Linux. rsync is just a standard gnu tool provided with
Linux. And Dirvish is just a script.
I don't see anything wrong with prefering Pascal software, although I
don't know any backup tool either (I don't use Backups, I have
everything important in SVN).
--
Felipe Monteiro de Carvalho

--
Henry Vermaak
2011-08-22 12:53:14 UTC
Permalink
Post by Felipe Monteiro de Carvalho
Post by Michael Schnell
but I do not want to cli every time i need to backup. And I prefer Pascal
programs then C/++ based. :)
So you can't use Linux. rsync is just a standard gnu tool provided with
Linux. And Dirvish is just a script.
I don't see anything wrong with prefering Pascal software, although I
don't know any backup tool either (I don't use Backups, I have
everything important in SVN).
So you don't back up your svn repo?

Henry

--
Felipe Monteiro de Carvalho
2011-08-22 13:09:21 UTC
Permalink
Post by Henry Vermaak
So you don't back up your svn repo?
No, assembla takes care of that. I rent a svn repo from assembla
instead of hosting my own.
--
Felipe Monteiro de Carvalho

--
Marco van de Voort
2011-08-22 12:23:29 UTC
Permalink
Post by Michael Schnell
Post by ik
Even a daemon for automated backups with rsync is good.
You don't need a dedicated daemon. Chron is provided for this.
Post by ik
but I do not want to cli every time i need to backup. And I prefer
Pascal programs then C/++ based. :)
So you can't use Linux. rsync is just a standard gnu tool provided with
Linux.
There are windows versions too, and there is http://librsync.sourceforge.net/

--
Michael Schnell
2011-08-22 12:53:47 UTC
Permalink
Post by Marco van de Voort
There are windows versions too, and there is http://librsync.sourceforge.net/
Even the better ...

But rsync relies on hardlinks. I do know that recent versions of NTFS do
support links, but I am not sure about the features.

I do know that rsync/Dirvish can remotely backup Windows boxes, though.

-Michael

--
ik
2011-08-22 12:24:26 UTC
Permalink
Post by Michael Schnell
Post by ik
To manage things in a more easy way.
Dirvish is _very_ easy. And the advantage of rsync is that it does an
incremental backup without the need for any restore tool. A file browser
just works for this
I didn know Dirvish, thanks.
Post by Michael Schnell
Even a daemon for automated backups with rsync is good.
You don't need a dedicated daemon. Chron is provided for this.
Cron is a daemon :)
Post by Michael Schnell
but I do not want to cli every time i need to backup. And I prefer Pascal
Post by ik
programs then C/++ based. :)
So you can't use Linux. rsync is just a standard gnu tool provided with
Linux. And Dirvish is just a script.
Linux is about cli, like Pascal is about begin end.
Cli is one tool in Linuxm but not the only tool.
Begin End is a syntax of Pascal. But Pascal is a programming language. It
create programs, not syntax.

I use cli, where it is needed, but not always itś a good idea to do it. You
need to find the balance where CLI is good and where you need something
more.
Post by Michael Schnell
-Michael
Ido
Luiz Americo Pereira Camara
2011-08-22 15:54:25 UTC
Permalink
Post by ik
Hi,
Does any of you know of a good backup system written using
FPC/Lazarus, working inside Linux and open source ?
Why would you want this ? In most cases rsync does a perfect job.
Doing rsync with the help of Dirvish performs the backup perfectly
automatic.
To manage things in a more easy way.
Even a daemon for automated backups with rsync is good. but I do not
want to cli every time i need to backup. And I prefer Pascal programs
then C/++ based. :)
There's this:

http://sourceforge.net/projects/becape/

It has some time that i don't update it but should work.

I have plans to overtake the limitations:

- Improve UTF8 file names (it was written when Lazarus does not
support Unicode)
- Change from zlib to zip (use abbrevia)
- create standalone components so can be integrated in fpc programs
- Improve the code architecture (separate GUI from logic etc)

I will do an exam Wednesday that is taking my time. I hope starting next
week i can work in it (along other code related tasks like fixing VTV bugs)

Luiz



--
Michael Schnell
2011-08-23 09:04:51 UTC
Permalink
Post by Luiz Americo Pereira Camara
http://sourceforge.net/projects/becape/
Looks great (on the first glance).

Anyway, I do prefer an incremental backup system that does not need a
dedicated tool for restoring. A GUI tool for the backup is not
advantageous IMHO, as this is supposed to run automatically, anyway.

This: no GUI no cry (e.g.: learning curve).

-Michael

--

Bart
2011-08-22 13:41:29 UTC
Permalink
Post by ik
Does any of you know of a good backup system written using FPC/Lazarus,
working inside Linux and open source ?
What capabilities must it have?

I have a "stupid backup program" written in Lazarus, but as the name
suggests it is very very very basic (in fact it can do little more
than xcopy can, with the exception that you can specify exclude
filters, and it looks nicer than xcopy does <G>).

It is however fully cross-platform.

Bart

--
ik
2011-08-23 05:55:43 UTC
Permalink
Post by Bart
Post by ik
Does any of you know of a good backup system written using FPC/Lazarus,
working inside Linux and open source ?
What capabilities must it have?
Saving new snapshots of things that where change, but looking with the
ability like with VCS, to have incremented backup.
Post by Bart
I have a "stupid backup program" written in Lazarus, but as the name
suggests it is very very very basic (in fact it can do little more
than xcopy can, with the exception that you can specify exclude
filters, and it looks nicer than xcopy does <G>).
It is however fully cross-platform.
I found this one: http://rsnapshot.org/ that does exactly what Iáž¿ looking
for. when I'll have some time, I will create for it a Lazarus interface :)
Post by Bart
Bart
Ido
Post by Bart
--
_______________________________________________
Lazarus mailing list
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Loading...