OS2World OLD-STATIC-BACKUP Forum

OS/2 - Technical => Applications => Topic started by: sXwamp on 2011.12.24, 02:05:39

Title: RsyncBackup v.005 for Os2/eCS !
Post by: sXwamp on 2011.12.24, 02:05:39
RsyncBackup v.005 for Os2/eCS !


(http://www.os2notes.com/images/rsync/rsyncfolder.png)


Warning: not compatible with RsyncBack-004

I put together a package (RsyncBackup-005.zip)  that will install a working
setup for Rsync. You can install it on only one machine or install the same
package on two machine for a client / server setup.  It's also an easy way
to install Rsync for the newly ported Qt apps that use Rsync !

IMPORTANT - all scripts and program objects have the (--dry-run ) option
inserted, it performs a trial run with no changes made to your system. So,
this package will not change anything on your system until (--dry-run ) is
removed.


http://www.os2notes.com/os2rsync.html


(http://www.os2notes.com/images/rsync/readyserver.png)


Cheers,

Greggory
Title: Re: RsyncBackup v.005 for Os2/eCS !
Post by: sXwamp on 2012.01.05, 12:07:33
RsyncBackup v.006 for Os2/eCS released !!!


http://www.os2notes.com/files/RsyncBackup-006b.zip


The main focus of RsyncBackup will be setting up a working Rsync server with clients pushing data
to that server. The RsyncBackup quick start will allow you to complete this task in about 10 minutes (Windows included) !  

However, local operations are secondary since LuckyBackup works great for local copying.


Added a quick start here:

http://www.os2notes.com/RsyncBackup-QuickStart.xhtml


Cleared up documentation and purpose statement:

http://www.os2notes.com/os2rsync.html


Scheduling for unattended backups coming soon !!!




Cheers,

Greggory



Title: Re: RsyncBackup v.005 for Os2/eCS !
Post by: sXwamp on 2012.01.06, 14:15:02
Update: 6 Jan 2012

Sorry, wrong version was zipped for RsyncBackup-006 - please use RsyncBackup-006b.

The BootDrive(full_local).cmd would overwrite the backup images from ZipBoot, so I
separated the directories and added the Config folder.

It is Ok to unzip RsyncBackup-006b over RsyncBackup-006 - as long as you didn't modify the original scripts, they should be copied first then modified.


http://www.os2notes.com/files/RsyncBackup-006b.zip


It is recommended to change the WPS objects in the Local & Network folders into templates,

Open =>properties=>Icon, select template

Does anyone know how to create WPS objects as templates ???

Title: Re: RsyncBackup v.005 for Os2/eCS !
Post by: DougB on 2012.01.06, 18:57:06
QuoteDoes anyone know how to create WPS objects as templates

Create the object normally, then go to Properties-> Icon, and there is a checkbox there to make it into a template.
Title: Re: RsyncBackup v.005 for Os2/eCS !
Post by: Batchheizer on 2012.01.06, 19:07:09
Quote from: sXwamp on 2012.01.06, 14:15:02


Does anyone know how to create WPS objects as templates ???


KEYNAME      VALUE           Description
-----------------------------------------------------------------------------

TEMPLATE     YES             Creates object as a template.
             NO              Resets objects template property.
Title: Re: RsyncBackup v.005 for Os2/eCS !
Post by: sXwamp on 2012.01.06, 20:07:30
Quote from: Batchheizer on 2012.01.06, 19:07:09

KEYNAME      VALUE           Description
-----------------------------------------------------------------------------

TEMPLATE     YES             Creates object as a template.
            NO              Resets objects template property.


Got it and thank you, I looked it up earlier - but placed the Keyname in the wrong place !


Greggory
Title: Re: RsyncBackup v.005 for Os2/eCS !
Post by: Blonde Guy on 2012.01.07, 02:53:27
When you make a rsyncd.conf file, how do you format the path?

All the documentation if for Linux, and so they skip over the drive letter issues...

An OS/2 oriented how-to would be welcome.
Title: Re: RsyncBackup v.005 for Os2/eCS !
Post by: sXwamp on 2012.01.07, 03:20:07
Quote
An OS/2 oriented how-to would be welcome.

Working on that & a detailed walk through for RsyncBackup.  A step-by-step for network backups and an automated schedule system. And I'm going to try out Open SSH for a better transport if possible (does anyone know if this is possible with the OS/2 SSH server).

Quote from: Blonde Guy on 2012.01.07, 02:53:27
When you make a rsyncd.conf file, how do you format the path?

All the documentation if for Linux, and so they skip over the drive letter issues...

An OS/2 oriented how-to would be welcome.


That's been fixed with Rsync 3.07 for OS/2.

- Supports drive letters
- Supports OS/2 style backslashes in path names
- Supports OS/2 extended attributes
 Enable with --xattrs, the default is --no-xattrs

Here's my 'rsyncd.conf'.

I use drive letters & forward slashes - and no drive letters for
my boot partition (because rsync is installed in the \mptn\bin directory & some people don't use C: as boot).

----------------------------------------

   max connections = 6
   transfer logging = yes
   read only = false
   timeout=600

   lock file = /var/temp/rsyncd.lock
   pid file = /var/temp/rsyncd.pid
   log file = /var/log/rsyncd.log
   motd file = /mptn/etc/rsyncd.motd

[RsyncBackup]
#    hosts allow = 192.168.1.1/24
   comment = Rsync backup storage area
   path = g:/RsyncBackup/Backups
   read only = false
   list = yes
   gid = root
   uid = root

[RsyncIncremental]
#    hosts allow = 192.168.1.1/24
   comment = Rsync Incremental backup
   path = g:/RsyncBackup/Backups/Incremental
   read only = false
   list = yes
   gid = root
   uid = root

[RsyncWin]
#    hosts allow = 192.168.1.1/24
   comment = Rsync Windows backup
   path = g:/RsyncBackup/Backups/Windows
   read only = false
   list = yes
   gid = root
   uid = root

---------------------------------------




Greggory