OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: Greggory Shaw on July 30, 2016, 09:48:08 am

Title: RsyncBackup/2 ready for testing !
Post by: Greggory Shaw on July 30, 2016, 09:48:08 am
RsyncBackup/2 - easy way to setup Rsync v3.09 for OS/2.

Rsync is a fast and extraordinarily versatile file copying tool. It can copy locally, to/from another host over any remote shell, or to/from a remote rsync daemon. ... Rsync is widely used for backups and mirroring and as an improved copy command for everyday use.

Including:

- Zip backup boot partition
- Scans and auto setup of Local & Network backup of paritions
- Or use the included scripts
- Install 'DragText' for timed backups (included with eCS 2.2)

- Setup of the Rsync Server

Needs some testing and suggestions, I have it about where I want to go with it.

I'm using these parameters (any thoughts ? Post what you use please):

Code: [Select]
rsync --dry-run --archive --itemize-changes --os2-perms --stats --xattrs --delete-during --log-file=\mptn\etc\rsyncd.log E:\ E:\Programs\Apps\Backups\rBackup\Backups\Local\Partitions\E

Main folder


(http://os2notes.net/images/os2rsync/rsyncmain.png)




Local backup of partitions (auto setup)


(http://os2notes.net/images/os2rsync/rsyncpart.png)



Scheduled backups

(http://os2notes.net/images/os2rsync/rsynctime.png)



Rsync Server for OS/2

(http://os2notes.net/images/os2rsync/readyserver.png)



Download here:

http://os2notes.net/files/rbackup/


Here is an older article about RsyncBackup (earlier version):

http://os2notes.net/os2rsync.html


Cheers

Greggory
Title: Re: RsyncBackup/2 ready for testing !
Post by: Greggory Shaw on July 31, 2016, 07:49:19 am
Needs some testing and suggestions, I have it about where I want to go with it.

I'm using these parameters (any thoughts ? Post what you use please):


Code: [Select]
rsync --dry-run --archive  --progress --stats --verbose --xattrs --delete --delete-excluded --log-file=\mptn\etc\rsyncd.log E:\ E:\Programs\Apps\Backups\rBackup\Backups\Local\Partitions\E

Post your rsync setup and commandline entry please !
Title: Re: RsyncBackup/2 ready for testing !
Post by: Greggory Shaw on November 21, 2016, 04:01:59 am
RsyncBackup/2  v1.1 released - easy way to setup Rsync v3.09 for OS/2.

Rsync is a fast and extraordinarily versatile file copying tool. It can copy locally, to/from another host over any remote shell, or to/from a remote rsync daemon. ... Rsync is widely used for backups and mirroring and as an improved copy command for everyday use.

Including (see above for screenshots):

- Zip backup boot partition
- Scans and auto setup of Local & Network backup of partitions
- Or use the included scripts
- Install 'DragText' for timed backups (included with eCS 2.2)

- Setup of the Rsync Server

Needs some testing and suggestions, I have it about where I want to go with it (GUI DrDialog next ?).


Any thoughts ?  Post your setup here !


Download here:

http://os2notes.net/files/rbackup/


Here is an older article about RsyncBackup (earlier version):

http://os2notes.net/os2rsync.html



Cheers

Greggory
Title: Re: RsyncBackup/2 ready for testing !
Post by: Greggory Shaw on November 22, 2016, 11:06:44 am
Sorry, I included the wrong ZipBoot.cmd file, I updated the RsyncBackup-v1_1.zip file so you don't need this if you haven't yet downloaded RsyncBackup-v1_1.zip.

Attached is the correct version, it's not a stand alone version it needs RsyncBackup/2.

UPDATE: need to change the working directory for the Zip Boot-Drive WPS object from



E:\PROGRAMS\...\RSYNCBACKUP

to

E:\PROGRAMS\...\RSYNCBACKUP\ZIPBOOT



Greggory
Title: Re: RsyncBackup/2 ready for testing !
Post by: Greggory Shaw on November 23, 2016, 03:55:27 am
Finished the 7 day Incremental backup scripts !

They create a current backup /w  7 day increments, just copy to Scripts folder overwrite old ones. I updated the RsyncBackup-v1_1.zip file so you don't need this if you haven't yet downloaded RsyncBackup-v1_1.zip.

Directory structure:

>Home
                >  Home

                >  Mon
                >  Tues
                >  Wed
                            > 20161121
                            > 20161122
                                              > test.txt
                >  Thur
                >  ......


Here's an old article on 7 day Int. backups for a general overview:

http://os2notes.net/os2rsync-incremental.html


Download RsyncBackup/2 here :

http://os2notes.net/files/rbackup/


Here is an older article about RsyncBackup (earlier version):

http://os2notes.net/os2rsync.html


I would definitely like to add some more options ! Any help or suggestions auto delete after 7 days, different sets, exploring --suffix= ?

Note: this creates only one backup file, use --suffix=Time()  to timestamp the files (hourly backups). Time(N) 24 hour time doesn't work (need to remove the colons first, help /w rexx parse code), using total mintues now.

 
Greggory
Title: Re: RsyncBackup/2 ready for testing !
Post by: Dariusz Piatkowski on March 18, 2017, 03:15:19 pm
Greggory,
Does your RsyncBackup create live backup/copy of a disk/partition (so disk=>disk copy)? Or is it primarily meant to create a ZIP backup?

I ask because I have been using dSync (dSync for OS/2, Version 0.1.6z  (c) 2001-2003 by MaDdEd-Ii) for a number of years now. It runs once every 24 hrs and simply syncs up my partitions...

Thanks,
-Dariusz
Title: Re: RsyncBackup/2 ready for testing !
Post by: Greggory Shaw on March 18, 2017, 04:13:17 pm
Greggory,
Does your RsyncBackup create live backup/copy of a disk/partition (so disk=>disk copy)? Or is it primarily meant to create a ZIP backup?

I ask because I have been using dSync (dSync for OS/2, Version 0.1.6z  (c) 2001-2003 by MaDdEd-Ii) for a number of years now. It runs once every 24 hrs and simply syncs up my partitions...

Thanks,
-Dariusz

RsyncBackup/2 uses zip for the boot partition only & Rsync for the rest.

I can no longer recommend dSync (see link):

http://os2notes.net/forum/index.php/topic,6.0.html