*New 11.3 series Release:
2019-10-19: XigmaNAS 11.3.0.4.7014 - released

*New 12.0 series Release:
2019-10-05: XigmaNAS 12.0.0.4.6928 - released!

*New 11.2 series Release:
2019-09-23: XigmaNAS 11.2.0.4.6881 - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

rdiff-backup

XigmaNAS Packages
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
pozz
Starter
Starter
Posts: 41
Joined: 03 May 2013 23:46
Status: Offline

rdiff-backup

#1

Post by pozz » 24 Jan 2015 23:26

Is it possible to install rdiff-backup (server) on NAS4Free? If yes, is there an howto?

I'm interested in using rdiff-backup on Windows client machines to make some incremental backups on network.

Cassie
NewUser
NewUser
Posts: 1
Joined: 28 Jan 2015 08:41
Status: Offline

Re: rdiff-backup

#2

Post by Cassie » 28 Jan 2015 10:24

You can use Ahsay Software for backup your windows Client. I am currently used this software.It is designed for managed service providers (MSPs) to provide online backup service to their customers. you can try and get benefit of it.

pozz
Starter
Starter
Posts: 41
Joined: 03 May 2013 23:46
Status: Offline

Re: rdiff-backup

#3

Post by pozz » 12 Feb 2015 00:26

I'd like to use rdiff-backup. What is the simplest method to install it on NAS4Free? Do I need "jails"? What are they?

jmarc
Starter
Starter
Posts: 20
Joined: 27 Mar 2013 18:10
Status: Offline

Re: rdiff-backup

#4

Post by jmarc » 27 May 2015 00:22

if you are on full version, juste pkg install rdiff-backup
else

Code: Select all

mkdir -p /mnt/tank/opt{var/db,var/cache,usr_local}
cat << END >/mnt/opt.sh
#!/bin/tcsh
if (\$# == 0) then
   goto liste
endif
switch ($1)
    case [oO][fF][fF]
      goto umount
    case [oO][nN]
      goto mount
    default:
      goto list
endsw

list:
mount -t unionfs
goto end

mount:
if ( ! -d /var/cache ) then
 mkdir /var/cache
 chmod 777 /var/cache
endif
mount_unionfs /mnt/opt/usr_local /usr/local
mount_unionfs /mnt/opt/var/db /var/db
mount_unionfs /mnt/opt/var/cache /var/cache
goto end

umount:
umount -f /var/db
umount -f /var/cache
umount -f /usr/local

end:
END
chmod 755 /mnt/opt.sh
To mount opt, you use /mnt/opt.sh on
and
pkg update -f
pkg install rdiff-backup

put the command in webui advance, script, post
XigmaNAS 11.2.0.4 - Omnius (revision 5762) x64-embedded AMD Athlon(tm) 5350 APU with Radeon(tm) R3 / 16G RAM / ZFS raidz2 10x3To WD / 8G log-mirror / 90G cache / ups eaton ps 650

pozz
Starter
Starter
Posts: 41
Joined: 03 May 2013 23:46
Status: Offline

Re: rdiff-backup

#5

Post by pozz » 27 May 2015 07:36

if you are on full version
No, I have an "Embedded Installation".

Code: Select all

mkdir -p /mnt/tank/opt{var/db,var/cache,usr_local}
I think this should be
mkdir -p /mnt/tank/opt/{var/db,var/cache,usr_local}

Code: Select all

mount_unionfs /mnt/opt/usr_local /usr/local
mount_unionfs /mnt/opt/var/db /var/db
mount_unionfs /mnt/opt/var/cache /var/cache
I think this should be
mount_unionfs /mnt/tank/opt/usr_local /usr/local
mount_unionfs /mnt/tank/opt/var/db /var/db
mount_unionfs /mnt/tank/opt/var/cache /var/cache
To mount opt, you use /mnt/opt.sh on
Why do I need to mount opt for running rdiff-backup?
Should I run the script /mnt/opt.sh on every time at power on? If yes, how?

Post Reply

Return to “Packages”