[BackupPC-users] Rsync not working on MAC
Hi, I have backuppc running fine backing-up windows and mac machines, except one mac. It fails in the first few minutes of the backup. If I run the backup from the command line then it hangs - if I remove the --server and the --sender switches and run the command it works fine. Please can you advise me on what to do? Kind Regards Tony Ferguson Mobile 082-464-6018 Office 011-476-3904 Fax 011-678-3291 "Life is a coin. You can spend it anyway you wish, but you can only spend it once." -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Status not updating
I move to another drive the backuppc root dir that contains these folders: conf cpool log passwd pc perl_module pool trash and now my status on the front page isn't updating: * Pool file system was recently at 70% (7/13 02:07), today's max is 70% (7/13 02:03) and yesterday's max was 70%. The Max for yesterday and today is 12%. Is this perhaps an issue with the status.pl? -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Advice on offsite strategy using external drives
> So someone (an unskilled office worker) swaps the drive > once a week after > they get an e-mail of a successful backup. They then take > the drive with the > new data and remove it offsite. Part of the reason I don't want to do this is that three drives are required in order to have on offsite at any given time. I backup nightly to one, dump to another and have another offsite. I am short on cash right now... Two drives acting as the backuppc root dir's seemed simpler. Less human interaction... -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Advice on offsite strategy using external drives
I just found this gem: http://www.debianhelp.co.uk/backuppc.htm The simplest way to handle off-site backup is to use BackupPC's archive host > feature to produce tar archives, and to then copy these archives to > removable media. > > BackupPC is configured to create tar archives by creating a new host with > it's XferMethod set to archive. > ... > The archive host will now appear within the web-based interface along with > all your other hosts, except that instead of allowing you to start backups > this host's interface will allow you to create archives of your other hosts. > > Archives you create in this way will contain the most recent backup of a > host, not a full set of historical backups. > ... > Once the archive process has completed the tar archive can then be copied > to removal media of one of the types suggested below, and then taken off > site. > > Archives can be created automatically using a cron job. > I plan on giving this a shot, writing these host tar files to a truecrypt volume on a portable drive. -- https://ssd.eff.org http://video.google.com/videoplay?docid=8167533318153586646 http://www.vlrc.org/articles/160.html Sent from Las Vegas, NV, United States On Wed, Jul 22, 2009 at 08:33, Carl Wilhelm Soderstrom wrote: > On 07/22 08:17 , tog benson wrote: >> In the past I've used external drives to keep a rotation of offsite >> backups. One drive would be offsite while the other was receiving dumps >> of data. I used an archive host to dump tar_gzip files of all my data. > > This is the way I do it at one location. I have a directory called > /var/lib/backuppc/dump, and tgz archives of all the hosts get dumped there > by virtue of a custom script. The script also handles the mounting and > unmounting of an external drive. > > So someone (an unskilled office worker) swaps the drive once a week after > they get an e-mail of a successful backup. They then take the drive with the > new data and remove it offsite. > > -- > Carl Soderstrom > Systems Administrator > Real-Time Enterprises > www.real-time.com > > -- > ___ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > List:https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki:http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Wrong user: my userid is 502, instead of (backuppc4afs), Please su backuppc4afs first
I used command id to determine userid. Actually "id backuppc4afs", "id 502" and "su backuppc4afs -c id" gave the same results: RArwjms04:bin root# id backuppc4afs uid=502(backuppc4afs) gid=1025(backuppc4afs) groups=1025(backuppc4afs) RArwjms04:bin root# id 502 uid=502(backuppc4afs) gid=1025(backuppc4afs) groups=1025(backuppc4afs) RArwjms04:bin root# su backuppc4afs -c id uid=502(backuppc4afs) gid=1025(backuppc4afs) groups=1025(backuppc4afs) My Mac machine is not using LDAP or AD, it is a standalone machine. Account "backuppc4afs" is a local account. When I read the source code, I found that script BackupPC is using getpwnam() to check uid. And it seems that output of getpwnam() from Linux and Mac are different: Linux: usernamex56780Fname Lname/afs/rwjresearch.umdnj.edu/home/username/bin/bash (account name: username, uid: 5678) Mac: backuppc4afs50210250backuppc4afs/Users/backuppc4afs/bin/bash0 (account name: backuppc4afs, uid:502) I think those "" might have caused the problem. Wenping Stephen Joyce wrote: > How did you determine that userid 502 is backuppc4afs? Do "id backuppc4afs" > and "id 502" return the same results? What about "su backuppc4afs -c id"? > > Have you configured the Mac to be aware of either an ldap server or AD > domain in Directory Services? It's easy to accidentally configure duplicate > uids or uidnumbers if so. [Remember each Mac has its own directory service > and only uses bsd flatfiles in single-user mode, so don't be distracted > by them.] > > If you find you do have a duplicate, file ownership may be an issue after > correcting it. > > Cheers, Stephen (who has discovered there are generally more reasons to > dislike Macs than to like them) > -- > Don't let the perfect be the enemy of the good. > > On Wed, 22 Jul 2009, Wenping Yang wrote: > > >> Hello, >> >> After installed Backuppc4afs on Mac 10.5 server, I could start backup >> from CGI interface, but it could not automatically start scheduled >> backup. The error in LOG is: >> >> /usr/local/BackupPC/bin/BackupPC_nightly: Wrong user: my userid is 502, >> instead of (backuppc4afs) >> Please su backuppc4afs first >> >> The problem is that userid 502 is backuppc4afs, I don't understand why >> it thinks they are different. >> Anyone had this problem before? >> >> Thank you. >> >> Wenping >> >> >> >> -- >> ___ >> BackupPC-users mailing list >> BackupPC-users@lists.sourceforge.net >> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users >> Wiki:http://backuppc.wiki.sourceforge.net >> Project: http://backuppc.sourceforge.net/ >> >> > > -- > ___ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > List:https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki:http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > > -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Advice on offsite strategy using external drives
On 07/22 08:17 , tog benson wrote: > In the past I've used external drives to keep a rotation of offsite > backups. One drive would be offsite while the other was receiving dumps > of data. I used an archive host to dump tar_gzip files of all my data. This is the way I do it at one location. I have a directory called /var/lib/backuppc/dump, and tgz archives of all the hosts get dumped there by virtue of a custom script. The script also handles the mounting and unmounting of an external drive. So someone (an unskilled office worker) swaps the drive once a week after they get an e-mail of a successful backup. They then take the drive with the new data and remove it offsite. -- Carl Soderstrom Systems Administrator Real-Time Enterprises www.real-time.com -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Wrong user: my userid is 502, instead of (backuppc4afs), Please su backuppc4afs first
How did you determine that userid 502 is backuppc4afs? Do "id backuppc4afs" and "id 502" return the same results? What about "su backuppc4afs -c id"? Have you configured the Mac to be aware of either an ldap server or AD domain in Directory Services? It's easy to accidentally configure duplicate uids or uidnumbers if so. [Remember each Mac has its own directory service and only uses bsd flatfiles in single-user mode, so don't be distracted by them.] If you find you do have a duplicate, file ownership may be an issue after correcting it. Cheers, Stephen (who has discovered there are generally more reasons to dislike Macs than to like them) -- Don't let the perfect be the enemy of the good. On Wed, 22 Jul 2009, Wenping Yang wrote: > Hello, > > After installed Backuppc4afs on Mac 10.5 server, I could start backup > from CGI interface, but it could not automatically start scheduled > backup. The error in LOG is: > > /usr/local/BackupPC/bin/BackupPC_nightly: Wrong user: my userid is 502, > instead of (backuppc4afs) > Please su backuppc4afs first > > The problem is that userid 502 is backuppc4afs, I don't understand why > it thinks they are different. > Anyone had this problem before? > > Thank you. > > Wenping > > > > -- > ___ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > List:https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki:http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Advice on offsite strategy using external drives
This may be a little long-winded, but I need some input. In the past I've used external drives to keep a rotation of offsite backups. One drive would be offsite while the other was receiving dumps of data. I used an archive host to dump tar_gzip files of all my data. This system worked great with the exception that dumping massive tgz files was a long process and the process in general required plenty of human interaction. Someone recommended that I try putting the root backuppc folder (including the "conf", "pool", "cpool" and "pc" etc. folders) on the external drive and let the nightly backups dump right onto the external. Then the second external driver (also configured with the coreect backuppc root) could be mounted in the same location on the filesystem, requireing less human interaction. I love the notion of this system. I can simply replace the drives from time to time and the data will be dumped right onto the drives. I just have to make sure that the configs, etc. are kept consistent. What concerns me is the format of the folders and files "int he backuppc system" In the cpool the file names are all hashes. When there are rwgular files, there's the prefix added by backuppc. In short, my data is munged; recovery requires a working backuppc install. The nice thing about tgz dumps was that my data was dumped in a format that was easily used. Does anyone else do it this way? Should I not be terribly concerned about the munging? -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Wrong user: my userid is 502, instead of (backuppc4afs), Please su backuppc4afs first
Hello, After installed Backuppc4afs on Mac 10.5 server, I could start backup from CGI interface, but it could not automatically start scheduled backup. The error in LOG is: /usr/local/BackupPC/bin/BackupPC_nightly: Wrong user: my userid is 502, instead of (backuppc4afs) Please su backuppc4afs first The problem is that userid 502 is backuppc4afs, I don't understand why it thinks they are different. Anyone had this problem before? Thank you. Wenping -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] ftp error: "xfer start failed: Can't open connection to : Invalid argument"
Hi, > I am struggling to get ftp transfer working in 3.2.0 beta0. And I keep > ketting the error message: xfer start failed: Can't open connection to : > Invalid argument about the "Invalid argument" issue, i attach here a Holger Parplies: " Sorry, that is a bug in Xfer::Ftp, line 190, which references $args->{host}, which, it seems, should read $args->{Host} instead (at least that's what getFTPArgs() returns). There are two more occurrences of the same typo and several usages of $t->{host} instead of $args->{Host}, though that is probably intentional (logging the host name as defined in BackupPC rather than the actual DNS name or IP used). I'd attach a patch, but it's really only :%s/\$args->{host}/$args->{Host}/gc " At the moment also i can't do backup using ftp still. Regards M -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] backup restore via command line
Thanks for your help. I have tried tar with parameter p as root user and it works. :D -p, --same-permissions, --preserve-permissions ignore umask when extracting files (the default for root) +-- |This was sent by svenbroe...@web.de via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Restore issues
Hi Jeffrey, Thanks for getting back to me... On Wed, Jul 22, 2009 at 1:22 AM, Jeffrey J. Kosowsky wrote: > Vetch wrote at about 00:14:06 +0100 on Wednesday, July 22, 2009: [snip] > > Well, with Windows there can be all kinds of reasons for mismatches > including: > 1. Busy files that can't be backed up (not just .pst files but also > other open files and various registry and system files) Yes, I thought about that, but these were just samba shares on a Linux server... The only files I expected that might not have been backed up were the Outlook psts, and occassionally some of the .doc files whilst they were open... ... but mostly, I think they should have been available and backup-able... > > 2. Permissions/acl issues - even with ssh as admin/root there may > still be files you can't access. I'm not a Windows guru but I know > it's not as simple as linux where root can read everything Yes... I'm not sure how it works with Samba permissions overriding Linux ones, but I guess it's possible that the root user couldn't backup all the data... ... though I would have thought it could... > > 3. Junctions can end up being double counted Ah - that's possibly an issue... It may be that I have data in a my documents folder in there... ... but would that show up in the count on the archive...? > > 4. Other weird Windows detritus - I have at times had weird ntfs files > that hang around and are non-deletable (until I boot into Linux) > Yes - that's certainly a possibility... Still - to have several hundred of these sounds like a lot! > Maybe I'm biased, but I always find Windows to be way more cumbersome, > obscure, and unpredictable than the simple metaphors of *nix > filesystems. > Heh - agreed... ;) Thanks for your help, Jx -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] BackupPC not deleting Backups according to FullKeepCnt
Hi, I am new to an existing BackupPC server. It was set up a long time ago and worked fine but the machine died. So the config Files were moved to a new server where BackupPC was installed via RPM on ubuntu. Backups are working fine, but old Backups won't get removed, so the HDD is running out of space very quickly. I found a script to remove single backups by hand, but I want it to be done automatically. I know that I didn't provide a lot info so far, but if you know where to srart searching for the problem, I'd be greatful if you pointed me there and/or ask for additional info Thank you in advance Christian Bock -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/