Author Topic: RsyncBackup/2 ready for testing !  (Read 1745 times)

Greggory Shaw

  • Global Moderator
  • Sr. Member
  • *****
  • Thank You
  • -Given: 36
  • -Receive: 19
  • Posts: 415
    • View Profile
RsyncBackup/2 ready for testing !
« 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







Local backup of partitions (auto setup)






Scheduled backups





Rsync Server for OS/2





Download here:

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


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

http://os2notes.net/os2rsync.html


Cheers

Greggory
« Last Edit: November 21, 2016, 08:03:03 am by Greggory Shaw »



Greggory Shaw

  • Global Moderator
  • Sr. Member
  • *****
  • Thank You
  • -Given: 36
  • -Receive: 19
  • Posts: 415
    • View Profile
Re: RsyncBackup/2 ready for testing !
« Reply #1 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 !

Greggory Shaw

  • Global Moderator
  • Sr. Member
  • *****
  • Thank You
  • -Given: 36
  • -Receive: 19
  • Posts: 415
    • View Profile
Re: RsyncBackup/2 ready for testing !
« Reply #2 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
« Last Edit: November 21, 2016, 07:12:03 am by Greggory Shaw »

Greggory Shaw

  • Global Moderator
  • Sr. Member
  • *****
  • Thank You
  • -Given: 36
  • -Receive: 19
  • Posts: 415
    • View Profile
Re: RsyncBackup/2 ready for testing !
« Reply #3 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
« Last Edit: November 23, 2016, 10:41:46 am by Greggory Shaw »

Greggory Shaw

  • Global Moderator
  • Sr. Member
  • *****
  • Thank You
  • -Given: 36
  • -Receive: 19
  • Posts: 415
    • View Profile
Re: RsyncBackup/2 ready for testing !
« Reply #4 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
« Last Edit: November 23, 2016, 05:57:10 am by Greggory Shaw »

Dariusz Piatkowski

  • Sr. Member
  • ****
  • Thank You
  • -Given: 12
  • -Receive: 6
  • Posts: 266
    • View Profile
Re: RsyncBackup/2 ready for testing !
« Reply #5 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

Greggory Shaw

  • Global Moderator
  • Sr. Member
  • *****
  • Thank You
  • -Given: 36
  • -Receive: 19
  • Posts: 415
    • View Profile
Re: RsyncBackup/2 ready for testing !
« Reply #6 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