alexander.rehbein | 1 Apr 20:03 2015
Picon

Different Blackout Periods

Hello,

I want to setup the following backup plan. Every week one full backup 
and every hour an incremental backup.

This works but i have a problem with the balackout periods. Full backups 
should only done at night. is it possible to configure this?

My actually config looks like:

$Conf{FullKeepCnt} = [
   '4',
   '0',
   '4',
   '0',
   '0',
   '2'
];
$Conf{FullPeriod} = '6.97';
$Conf{IncrKeepCnt} = '150';
$Conf{IncrPeriod} = '0.04';
$Conf{BlackoutPeriods} = [
   {
     'hourEnd' => '2',
     'weekDays' => [
       '1',
       '2',
       '3',
       '4',
       '5',
(Continue reading)

Antonio Sanguigni | 19 Mar 20:51 2015
Picon

Backup PCs behind an ADSL router

Hello,

I have to backup 5 pc behind an ADSL router. This is my first time so
I prefer to ask for advices.

When I have to backup 1 pc I open and forward port 873 on the ADSL
Router for the pc to backup. How can accomplish that with 5 pc ?

I think to create 5 host which point to the same ip address thanks to
ClientNameAlias property and with different host names, of cours, in
backuppc and change the port accordingly. I believe it is necessary to
open 5 ports on the ADSL router. Is this the only solution ?

Thank you
Antonio

--

-- 
Antonio Sanguigni alias slapshot
----------------------------------------------------------------------
Servizi informatici Windows e GNU/Linux- http://www.pieroni.biz
GioveLUG (Linux User Group) - http://www.giovelug.org

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
BackupPC-users mailing list
(Continue reading)

Antonio Sanguigni | 17 Mar 19:30 2015
Picon

Windows VSS Snapshot and cygwin-rsyncd

Hello,

I need to use Windows VSS to backup some data during user is working on pc.

Is there a patched cygwin-rsyncd to accomplish VSS which is able to
work with Backuppc ?

Thank you
Antonio

-- 
Antonio Sanguigni alias slapshot
----------------------------------------------------------------------
Servizi informatici Windows e GNU/Linux- http://www.pieroni.biz
GioveLUG (Linux User Group) - http://www.giovelug.org

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

(Continue reading)

Zach La Celle | 16 Mar 18:35 2015

Newest rsyncd for Windows -- "chdir" error

I've been using the older version of rsyncd on Windows machines with one
issue: it doesn't handle long filenames.

I wanted to try the newest version of the Cygwin rsync daemon, and
installed 3.0.9 from the website.

Now, when I try to connect, I get the following error:

 <at> ERROR: chdir failed
rsync error: error starting client-server protocol (code 5) at
main.c(1534) [Receiver=3.0.9]

The rsyncd.secrets file and rsyndd.conf are the exact same as before,
and I've checked through them to try and find any issues.

Any ideas?

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

(Continue reading)

Mauro Condarelli | 15 Mar 12:57 2015
Picon

Pluggable setup

Hi All,
I already sent this Yesterday, but I didn't see it on the list (and neither saw any answer), so I'm resending it.
Pardon me if You see it twice.

Hi,
I need to backup a large (6T+) NAS on some removable storage.
Since I have lots of duplicates I would really like to use BackupPC for the task.
I would thus like to set-up several external hard drives (<2T) with BackupPC each dedicated to backup a
subset of the NAS.
When one of the removables is connected I would like to (automatically) start the pertinent backup.
Is this configuration supported somehow?
What are the Best Practices in this usage case?
NOTE: I know I will lose deduplication across different "sections", but the effect can be lessened by
thoughtful partitioning and I can live with that.

TiA
Mauro

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
(Continue reading)

Mauro Condarelli | 14 Mar 13:37 2015
Picon

Pluggable setup

Hi,
I need to backup a large (6T+) NAS on some removable storage.
Since I have lots of duplicates I would really like to use BackupPC for the task.
I would thus like to set-up several external hard drives (<2T) with BackupPC each dedicated to backup a
subset of the NAS.
When one of the removables is connected I would like to (automatically) start the pertinent backup.
Is this configuration supported somehow?
What are the Best Practices in this usage case?
NOTE: I know I will lose deduplication across different "sections", but the effect can be lessened by
thoughtful partitioning and I can live with that.

TiA
Mauro

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Angus Kerr | 14 Mar 12:08 2015
Picon

Setup of rsync via SSH with unprivileged user 'backuppc'

Hi

I really struggled to get this working. I thought it might be a good idea to update the section.

I've edited the ssh section to tailor it specifically to cater for an unprivileged user 'backuppc'

I've included it below, it may be useful to some and hopefully it could be incorporated in the documentation to make it easier for users to set this up in future.

The text follows below:

Rsync via OpenSSH using non-privileged user 'backuppc'

Depending upon your OpenSSH installation, many of these steps can be replaced by running the scripts ssh-user-config and ssh-host-config included with OpenSSH. You still need to manually exchange the public keys.

BackupPC Server key generation (Do this only once) As the BackupPC user (__BACKUPPCUSER__), create a public ssh key on the server. ssh-keygen -t rsa As a password, you would type nothing (just enter) if you wish BackupPC to start automatically. This will save the public key in ~/.ssh/id_rsa.pub and the private key in ~/.ssh/id_rsa, (the home folder of backuppc) if you don't specify another location.

Make a copy of the public key to avoid confusing it with the client keys on the client machines (see later) to make it recognizable, eg:


cp ~/.ssh/id_rsa.pub ~/.ssh/BackupPC_id_rsa.pub See the ssh and sshd manual pages for extra configuration information.

Client Non-privileged user Backuppc creation (Do this on each client PC)

As root on the client machine, create a user called 'backuppc'

                useradd backuppc

As root, now make a home directory for backuppc

                mkdir /home/backuppc

As root, make a directory for backuppc's ssh configuration

                mkdir /home/backuppc/.ssh

As root use visudo to create a sudoers file for backuppc, but with permissions only to run rsync.

                visudo -f /etc/sudoers.d/backuppc

Copy the following text in the file and save it

                #Sudoers file for backuppc user to run rsync

                backuppc ALL=NOPASSWD: /usr/bin/rsync

Client Key generation (Do this on each Client PC) As root on the client machine, use ssh-keygen to generate a public/private key pair: ssh-keygen -t rsa This will save the public key in ~/.ssh/id_rsa.pub and the private key in ~/.ssh/id_rsa, if you don't specify another location. As a password, you would type nothing (just enter) if you wish BackupPC to start automatically.

Make a copy of the public key to avoid confusing it with other client keys on the backuppc server to make it recognizable, eg:


cp ~/.ssh/id_rsa.pub ~/.ssh/Fred-pc_id_rsa.pub (if the machine name is Fred-pc) Name each public key on each client uniquely, so that they are not confused with other client's keys when copied onto the server.

Key exchange On Each Client: To allow BackupPC to ssh to the client as the non-privileged user backuppc, you need to place the server BackupPC's public key into the backuppc user's authorized list on the client. As root, append BackupPC's public key (BackupPC_id_rsa.pub) to backuppc's /home/backuppc/.ssh/authorized_keys2 file on the client: touch /home/backuppc/.ssh/authorized_keys2 cat BackupPC_id_rsa.pub >> /home/backuppc/authorized_keys2 You should edit /home/backuppc/.ssh/authorized_keys2 and add further specifiers, eg: from, to limit which hosts can login using this key. For example, if your BackupPC host is called backuppc.my.com, there should be one line in ~/.ssh/authorized_keys2 that looks like: from="backuppc.my.com" ssh-rsa [base64 key, eg: ABwBCEAIIALyoqa8....] On BackupPC Server You need to place each client's public key into backuppc's ~/.ssh/known_hosts file, otherwise you will get a Host key verification failed. error, and backuppc will not be able to log into the client. To place the client key into the ~/.ssh/known_hosts file, you need to do this (make sure ~/.ssh/client_id_rsa.pub is the client's public key, which needs to be copied from the client): As user backuppc touch ~/.ssh/known_hosts cat ~/.ssh/Fred-pc_rsa.pub >> ~/.ssh/known_hosts Repeat this step to add each client's key i.e. Mary-pc_rsa.pub and whatever the other keys are named. Fix permissions You will probably need to make sure that all the files in ~/.ssh have no group or other read/write permission: chmod -R go-rwx ~/.ssh You should do the same thing for the BackupPC user on the server. Testing As the BackupPC user on the server, verify that this command: ssh -l backuppc clientHostName whoami prints backuppc You might be prompted the first time to accept the client's host key and you might be prompted for backuppc's password on the client. Make sure that this command runs cleanly with no prompts after the first time. You might need to check /etc/hosts.equiv on the client. Look at the man pages for more information. The -v option to ssh is a good way to get detailed information about what fails.

The above configuration means that the only command that backuppc can run is rsync.

You will have to set the RsyncClientCmd to be something like:

$Conf{RsyncClientCmd} = '$sshPath -l backuppc $host nice -n 19 sudo $rsyncPath $argList+';

In this case the backup is niced so that it doesn't give such a performance hit on the client. The same setup works for tar.


<!-- <at> page { margin: 2cm } PRE.western { font-family: "Liberation Mono", monospace } PRE.cjk { font-family: "Droid Sans Fallback", monospace } PRE.ctl { font-family: "Liberation Mono", monospace } P { margin-bottom: 0.25cm; line-height: 120% } A:link { so-language: zxx } TT.western { font-family: "Liberation Mono", monospace } TT.cjk { font-family: "Droid Sans Fallback", monospace } TT.ctl { font-family: "Liberation Mono", monospace } CODE.western { font-family: "Liberation Mono", monospace } CODE.cjk { font-family: "Droid Sans Fallback", monospace } CODE.ctl { font-family: "Liberation Mono", monospace } --> Cheers
Angus
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
Marko Doda | 13 Mar 19:28 2015
Picon

Cygwin-rsyncd and non latin filenames

In the backuppc documentation it is stated that you must specify you windows locale in $Conf{ClientCharset} when using rsyncd-cygwin, but that causes problems with Cyrillic filenames, when setting utf8 or leaving that setting empty everything works just fine.
Cygwin handles utf8 just fine since 1.7 so isn't that part of the documentation obsolete? 
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
Philip Prindeville | 10 Mar 23:49 2015

Config example for backing up linux host, local disk drive

Hi.

I have a Linux desktop box with a WD USB 3.0 external drive which I want to use for backups.

I was looking through the configuration documentation and while there’s a lot of it, I thought there
would be an example of something trivial but there wasn’t.

I have the drive locally attached and mounted as /mnt/mybook and the filesystem has the top-level
directory “backups” in it.

What config variables do I need to set in /etc/BackupPC/config.pl to make local backups to a local directory?

Should be trivial, right?  But I couldn’t find an example.

Thanks,

-Philip

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Jason Spohn | 9 Mar 22:51 2015

Changing XferMethod on existing host

I’m wondering what types of complications can arise from changing as existing and established hosts ‘XferMethod’ – Specifically from SMB to rsync. The host is a windows 2012 server box using rsync over ssh with Cygwin. Will restores and existing backups still work? Anyone had experience doing this (changing methods)?

 

Jason Spohn                                              

System Administrator

 

 

   +       

STRONGER TOGETHER: On January 1st, 2015, Beals Alliance joined
Siegfried. This acquisition by Siegfried enables the expansion of our
Athletic Facility Design capabilities and further strengthens our unique
Multi-Disciplinary approach to our projects.
Click here to read more!

 

3244 Brookside Rd., Ste. 100 Stockton, CA 95219

t: 209.943.2021 x 144 f: 209.942.0214

 

Stockton Sacramento San Jose

siegfriedeng.com               

 

 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
Markus Koeberl | 9 Mar 16:27 2015
Picon

automatic restore on a development system

Hello,

I wonder if it is somehow possible to perform a automatic restore on a development system after a successful backup.

Something like a script for the DumpPostUserCmd or DumpPostShareCmd which: 
- make sure / wait till there is no backup running in the development machine
- start a restore process to the development machine for a share or a file from the currently backuped machine

I can do this very easy manually on the web interface but is it also possible to do this automatically somehow?

regards
Markus Köberl
--

-- 
Markus Koeberl
Graz University of Technology
Signal Processing and Speech Communication Laboratory
E-mail: markus.koeberl <at> tugraz.at

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Gmane