Mark Rosedale | 5 Feb 21:56 2014

BackupPC_trashClean

Hello,

So I have a backuppc installation. I started running low on diskspace so I aged out a whole set of full's. The
problem is that I really didn't get that much space back and I traced the issue down to the trashClean proc
taking a very long time to recover the space. So basically what has been happening is I keep filling up on
space on my backups and the trashClean proc isn't keeping up. 

What I've done now is stop my backups and run trashClean by hand. I've been slowly gaining back space, but it
is very slow. Is there anything I can do to speed this process up? 

Thanks,
mjr

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
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/

support | 5 Feb 13:21 2014
Picon

Samba Exclude Folders Pattern

for smb backup do you put exclude files like :
System Volume Information
\System Volume Information
\\System Volume Information
\\System Volume Information\*
 
google give few answers about this so please let me know which one works in your tests
<!-- a {text-decoration:none} img {border:none} --> <!-- a {text-decoration:none; color:#3a66d5} a:visited { color:#3a66d5} body {font-family:verdana, arial, helvetica, sans-serif ; color:#3a66d5} -->
Kind Regards Chris
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
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/
support | 1 Feb 02:06 2014
Picon

Starting backuppc: 2014-02-01 01:05:05 Can't create a test hardlink between a file in /home/backup/pc and /home/backup/cpool.

The user is www-data , folders and files are owner by the same user and for the sake of testing it I changed all folders and files to 777.
 
If I create the ln under www-data it works fine.
 
 
The /home is mounted crypted hdd



Kind Regards Chris

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
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/
Nicolas Cauchie | 31 Jan 14:09 2014
Picon

User password to restore AD Windows clients

Hello all,

I'm tring to restore data to a Windows client. This computer is in an Active Directory environment.

To backup Windows clients who are in this domain, I created a user with complex password and select "don't ask to change password", and I always use this user to backup data with backuppc.

Everything's working fine during backup, as I set DOMAIN\user and password for this user in the CONFIG/XFER tab. My host is set with DOMAIN\user in the "EDIT HOSTS\Hosts" tab.

When I select files to restore, I have 3 choices to restore. I choose the first option : direct restore to the host.

I set a new folder named "restore" to "restore the files below dir" which doesn't exist on the host, and the restore failed. Same thing if I create this folder on the host before start the restore process.

The user I use to backup Windows clients has write permissions on the Windows share.

Here's the error message :

Running: /usr/bin/smbclient \\\\host.domain.local\\d -U DOMAIN\\user-E -d 1 -c tarmode\ full -Tx -
Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h host.domain.local -n 138 -s d -t -r / -p /restore/ /manifest.xml
Xfer PIDs are now 18818,18819
WARNING: The "idmap uid" option is deprecated
WARNING: The "idmap gid" option is deprecated
[ skipped 1 lines ]
tarCreate: Done: 1 files, 10923 bytes, 0 dirs, 0 specials, 0 errors
[ skipped 1 lines ]
Error mkdir NT_STATUS_ACCESS_DENIED
This backup will fail because: abandoning restore
abandoning restore
Abandoning restore
restore failed: abandoning restore

When I run /usr/bin/smbclient \\\\host.domain.local\\d -U DOMAIN\\user-E -d 1 -c tarmode\ full -Tx - in ssh, a password is asked, so I think backuppc dosen't send the password which is used to backup the client ?

How to resolv this problem ?

Thanks a lot !

Nicolas
-----







------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
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/
Jamie Levett | 30 Jan 11:02 2014
Picon

AUTO: Jamie Levett is out of the office. (returning 04/02/2014)


I am out of the office until 04/02/2014.

I am away from the office at the moment I will respond to your mail on my
return.

Note: This is an automated response to your message  "[BackupPC-users]
BackupPC_tarCreate gives error "bad share or	directory&" sent on
30/01/2014 8:12:31.

This is the only notification you will receive while this person is away.

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
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/

Russell R Poyner | 28 Jan 17:12 2014
Picon

V4 for production?

I'm in the process of building a BackupPC set up for about 200 users. 
The possibility of "incrementals forever" that looks to be available in 
V4 is quite appealing. My experience backing up windows PC's with V3 has 
been that the fulls take a long time and are much more likely to fail 
than incrementals. I've been using a script run via cygwin/ssh on the 
windows machines that creates a shadow copy and makes it available to 
BackupPC via rsyncd.

Not having to run regular, trouble-prone fulls of windows clients would 
be great.

So am I insane to be thinking about V4 on a sizeable production system?

R Poyner

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
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/

dleigh | 28 Jan 10:36 2014

BackupPC_tarCreate gives error "bad share or directory"

I've never gotten backuppc in-place restores to work.  I've been using backuppc for several years now, but
I'm just now getting around to trying to figure that part out!

Anyway, here's what I've tried and my results (command line under su backuppc):

$ /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 828 -s /home -t -r /leidav -p /leidav/
/leidav/zlink.txt&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
/usr/share/backuppc/bin/BackupPC_tarCreate&#58; bad share or directory '/home//leidav/zlink.txt'
Done&#58; 0 files, 0 bytes, 0 dirs, 0 specials, 1 errors

So this command that I'm using is the command that the backuppc web interface creates when I select a file to
restore while browsing a backup.  So if the COMMAND is wrong, that's a bit annoying, but at least backuppc
allows you to change the command.  Hopefully it's not a problem in BackupPC_tarCreate - that would be even
more annoying!

Because it was putting "//" double slashes in the path, I thought that this was perhaps the problem.  So I
screwed around with the command by removing various slashes to see what the outcome was.  The error was
always the same even though the path DID reflect the changes that I made.  Here are those tries: 

$ /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 828 -s /home -t -r /leidav -p leidav/ /leidav/zlink.txt
/usr/share/backuppc/bin/BackupPC_tarCreate&#58; bad share or directory '/home//leidav/zlink.txt'
Done&#58; 0 files, 0 bytes, 0 dirs, 0 specials, 1 errors
$ /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 828 -s /home -t -r /leidav -p /leidav/ leidav/zlink.txt
/usr/share/backuppc/bin/BackupPC_tarCreate&#58; bad share or directory '/home/leidav/zlink.txt'
Done&#58; 0 files, 0 bytes, 0 dirs, 0 specials, 1 errors
$ /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 828 -s /home -t -r /leidav -p /leidav /leidav/zlink.txt
/usr/share/backuppc/bin/BackupPC_tarCreate&#58; bad share or directory '/home//leidav/zlink.txt'
Done&#58; 0 files, 0 bytes, 0 dirs, 0 specials, 1 errors
$ /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 828 -s home -t -r /leidav -p /leidav/ /leidav/zlink.txt
/usr/share/backuppc/bin/BackupPC_tarCreate&#58; bad share or directory 'home//leidav/zlink.txt'
Done&#58; 0 files, 0 bytes, 0 dirs, 0 specials, 1 errors

Searches for "bad share or directory" have not turned up any useful information for me.  Any ideas out there
about what it's really complaining about?

Thank you!

+----------------------------------------------------------------------
|This was sent by david <at> leighweb.com via Backup Central.
|Forward SPAM to abuse <at> backupcentral.com.
+----------------------------------------------------------------------

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
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/

Löffler Thomas J. | 27 Jan 16:41 2014
Picon

Can't fork

Hi, 

Using backuppc 3.2.1-4 on debian backup Macs 10.8.5/10.9.1 with rsync. One Mac fails now and with
"BackupPC_dump -v -f ..." it gives the error 

Parent read EOF from child: fatal error!
Done: 0 files, 0 bytes
Got fatal error during xfer (Child exited prematurely)
cmdSystemOrEval: about to system /bin/ping -c 1 ...
Can't fork: Cannot allocate memory at /usr/share/backuppc/lib/BackupPC/Lib.pm Line 1341. 

This line is "if (  $host ne " " )  {". 

Any ideas? 

Thank you in advance, Thomas

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
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/

Jamie Levett | 22 Jan 17:07 2014
Picon

AUTO: Jamie Levett is out of the office. (returning 27/01/2014)


I am out of the office until 27/01/2014.

I am away from the office at the moment I will respond to your mail on my
return.

Note: This is an automated response to your message  "[BackupPC-users]
BackupPC Client and Windows Server 2012 / 2012 R2" sent on 22/01/2014
14:09:45.

This is the only notification you will receive while this person is away.

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
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/

shankarp | 22 Jan 14:26 2014

Backuppc Restore to Previous Date

Hello All,

I am evaluating backuppc to implement it on our organization as our backup solution. I have noticed that,
when restoring it provides the latest backup only. Is it possible to restore to some previous dates using
backuppc (not the latest backup) ?

Thank you!

Regards,
Shankar

+----------------------------------------------------------------------
|This was sent by shankarpriya89 <at> yahoo.com via Backup Central.
|Forward SPAM to abuse <at> backupcentral.com.
+----------------------------------------------------------------------

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
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/

Gopu Krishnan | 22 Jan 15:55 2014
Picon

Re: Not getting any mail after the backup

Hi all,

I value the time all of you spent on assisting me to resolve my issue. So I am updating this ticket with my findings. Really, I had a custom script in my server which was sending out the notification upon successful completion. The location of the script is mentioned in backuppc configuration as
Edit config --> Backup Settings --> User commands -> DumpPostUserCmd as
/opt/email.sh $xferOK $host $type $client $hostIP $share $XferMethod $sshPath $cmdType
where /opt/email.sh is the custom script.

I have pasted the contents of email.sh if anyone want to use:

#!/bin/bash
# script to send simple email
# Email To ?
EMAIL="your_email_address"
# Email text/message
EMAILMESSAGE="/tmp/emailmessage.txt"

# Grab the status variables
xferOK=$1
host=$2
type=$3
client=$4
hostIP=$5
share=$6
XferMethod=$7
sshPath=$8
cmdType=$9

# Check if backup succeeded or not.
if [[ $xferOK == 1 ]]; then
        STATUS="SUCCESS"
else
        STATUS="FAILED"
fi

# email subject
SUBJECT="[BackupPC] $STATUS for host: $client"

# Email text/message
echo "Filesystem backup for $host $STATUS" > $EMAILMESSAGE
echo "" >>$EMAILMESSAGE
echo "Type: $type" >>$EMAILMESSAGE
echo "Client: $client" >>$EMAILMESSAGE
echo "Host: $host" >>$EMAILMESSAGE
echo "Host IP: $hostIP" >>$EMAILMESSAGE
echo "Share: $share" >>$EMAILMESSAGE
echo "XferMethod: $XferMethod" >>$EMAILMESSAGE
echo "sshPath: $sshPath" >>$EMAILMESSAGE
echo "cmdType: $cmdType" >>$EMAILMESSAGE

# send an email using /bin/mail
/bin/mail -s "$SUBJECT" "$EMAIL" < $EMAILMESSAGE

I am not sure whether it a default feature in backuppc


On Tue, Dec 3, 2013 at 4:52 AM, Gopu Krishnan <gopukrishnantec <at> gmail.com> wrote:
When I click on Log File, getting error :
Can't open log file /var/run/BackupPC/LOG


On Fri, Nov 29, 2013 at 8:05 AM, Gopu Krishnan <gopukrishnantec <at> gmail.com> wrote:
Hi Holger,

But I am not getting the notification even when the backup fails;that is the basic thing we need. Only bogus notification I am getting. :(

Thanks,


On Fri, Nov 29, 2013 at 12:15 AM, Holger Parplies <wbppc <at> parplies.de> wrote:
Hi,

Gopu Krishnan wrote [off-list] on 2013-11-28 09:10:46 +0530 [Re: [BackupPC-users] Not getting any mail after the backup]:
> [reordering top-posted message]
> On Thu, Nov 28, 2013 at 8:59 AM, Gopu Krishnan <gopukrishnantec <at> gmail.com>wrote:
> > Hello Holdger,
> >
> > I have my 'EMailAdminUserName' set to user <at> example.com (including TLD)
> > and 'EMailUserDestDomain' blank. I dont think this is causing an issue as I
> > am having another backuppc with the same configuration using that as
> > reference, I configured this new one. I closely monitored the
> > /var/log/maillog after starting a incr Backup and no mail is being sent
> > from the server. I doubt something is not triggering the mails after the
> > backup finishes for a host.
> >
> > Thanks,
> > Gopu
>
> One more thing, I am getting the mail "BackupPC administrative attention
> needed" which mentions the directories those are bogus. So issue is the
> mails are not generating after the backup

it has already been pointed out - ***there are no mails after a successful
backup***. That's not an issue, that's the concept.

Regards,
Holger



------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
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