Re: [BackupPC-users] Backup up an Exchange server

2008-01-21 Thread Tomas Florian
Personaly, I use the Exmerge method.  Generally it works great - but 
fails horribly for PST files > 2GB.

Is there a workaround?

Regards,
Tomas


Mark Best wrote:
> Tony's idea of using Exmerge is just brilliant, But it got me
> thinking... Has anyone ever thought of being able to recover _individual
> emails_ directly to/and from an Exchange server? I'm just brain storming
> here but scripts like
> http://cwashington.netreach.net/depo/view.asp?Index=1140&ScriptType=vbsc
> ript can list individual emails, couldn't one also script into Exchange
> (or a client .pst) and Backup/Restore emails this way?
> 
>  
> 
> Thoughts/Experiences?
> 
>  
> 
> -Mark
> 
>  
> 
>> Well, you can't back up the exchange content databases with the
> 
>> databases online (i.e. with the Information Store service running)
> 
>> You can do it 3 (and probably more) ways with BackupPC:
> 
> 
>> 1. Stop the Information Store service, then have BackupPC backup the
> 
>> databases, which is basically all the files in the C:\Program
> 
>> Files\Exchsrvr\MDBDATA directory. Note, this is the default
> 
>> directory..but most people put it on a different drive. Then restart
> the
> 
>> Information Store service. This method is not recommended.
> 
> 
>> 2. Use ntbackup on your Exchange server to do a backup of the Exchange
> 
>> storage groups. Ntbackup will use VSS to backup the databases to a
> .bak
> 
>> file you specify with the information store able to remain online. Use
> 
>> BackupPC to backup the .bak file
> 
> 
>> 3. Use Exmerge to export all your mailboxes to PST files. Have
> BackupPC
> 
>> backup the .pst files.
> 
> 
>> Personally, I do a combination of #2 and #3. I use ntbackup to do a
> full
> 
>> database backup every Saturday. I use Exmerge to do incremental
> backups
> 
>> of all mailboxes every night (except Saturday). With Exmerge you can
> 
>> even just take changed data from the mailboxes, so you're not backing
> up
> 
>> every single byte of every single mailbox, but you are keeping a
> running
> 
>> up-to-date mailbox with the PST file (unless you delete the PST files
> 
>> every night). And then if someone needs something recovered from the
> 
>> week, you can just open their exmerge-backed up PST file in Outlook
> and
> 
>> pull it out rather than go through restoring the database files,
> 
>> creating a storage recovery group, copying the data over, blah blah.
> 
> 
>> -Tony
> 
>>   
> 
> 
> 
> 
> 
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> 
> 
> 
> 
> ___
> 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/


-- 

Tomas Florian
Florian Consulting Inc.

Suite 812, 738 3rd Ave SW
Calgary Alberta, T2P 0G7
Cel. (403) 714-3914
Bus. (403) 775-6949

[EMAIL PROTECTED]
www.florian.ca

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Scripts for VSS backups of XP

2007-09-29 Thread Tomas Florian
I was using the wrong version.  I grabbed the one for XP and everything
works now.  This is off topic but I'm also curious about your sample
"C:\unison"  It looks like you are using vshadow with unison.  Does
that help with unison's sync reliability?  Or do you do it that way just
to make sure you grab any locked files?

Thanks for your help
Tomas

Stephen Joyce wrote:
> VSS works fine for me on XP pro sp2 (as administrator).
> 
> Make sure that "MS Software Shadow Copy Provider" and "Volume Shadow
> Copy" are both automatic/started. Also make sure you're using the
> correct vshadow.exe as there are different versions for each OS (ie,
> 2003 and XP are different from each other and different from vista)!
> 
> C:\>c:\unison\bin\vshadow.exe c:
> 
> VSHADOW.EXE 2.2 - Volume Shadow Copy sample client
> Copyright (C) 2005 Microsoft Corporation. All rights reserved.
> 
> 
> (Option: Create shadow copy set)
> (Gathering writer metadata...)
> (Waiting for the asynchronous operation to finish...)
> Initialize writer metadata ...
> Discover directly excluded components ...
> - Excluding writer 'MSDEWriter' since it has no selected components for
> restore.
> 
> Discover components that reside outside the shadow set ...
> ... snipped for brevity ...
>- Shadow copy device name:
> \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1
>- Originating machine: (null)
>- Service machine: (null)
>- Not Exposed
>- Provider id: {b5946137-7b9f-4925-af80-51abd60b20d5}
>- Attributes:  Auto_Release
> 
> - Mark all writers as succesfully backed up...
> Completing the backup (BackupComplete) ...
> (Waiting for the asynchronous operation to finish...)
> (Waiting for the asynchronous operation to finish...)
> 
> Snapshot creation done.
> C:\>
> 
> Cheers, Stephen
> -- 
> Stephen Joyce
> Systems AdministratorP A N I C
> Physics & Astronomy Department Physics & Astronomy
> University of North Carolina at Chapel Hill Network Infrastructure
> voice: (919) 962-7214and Computing
> fax: (919) 962-0480   http://www.panic.unc.edu
> 
>  Some people make the world turn and others just watch it spin.
>-- Jimmy Buffet
> 
> On Fri, 28 Sep 2007, Tomas Florian wrote:
> 
>> I was curious about the vshadow functionality in all of this so I tried
>> it.  It works fine on Windows 2003, but not on Windows XP SP2 (I tried 4
>> different machines including one installed from scratch in a VM)  I get
>> the same error for the following commands:
>>
>> vshadow -q
>> vshadow -p -nw C:
>>
>>
>> VSHADOW.EXE 2.2 - Volume Shadow Copy sample client
>> Copyright (C) 2005 Microsoft Corporation. All rights reserved.
>>
>>
>> (Option: Query all shadow copies)
>> - Setting the VSS context to: 0x
>>
>> ERROR: COM call "m_pVssObject->SetContext(dwContext)" failed.
>> - Returned HRESULT = 0xc005
>> - Error text: 
>> - Please re-run VSHADOW.EXE with the /tracing option to get more details
>>
>>
>>
>> the tracing option didn't help because all it says is "Unknown error
>> code" as well.  All of the XPs I tried it on were professional and some
>> of them had most recent updates while others did not.
>>
>> You mentioned having trouble with Vista which is not such a big
>> surprise, but what about XP?   Or am I missing some prerequisite when
>> running vshadow by itself?
>>
>> I saw that my Shadow Service in services wasn't started.  So I started
>> that on the XP machines but I got the same result.  On Win 2003 SBS
>> server it worked the first time with no trouble at at all.
>>
>> Regards,
>> Tomas
>>
>>
>> Tomas Florian wrote:
>>> Thanks Rod,
>>>
>>> I haven't had a chance to test it yet.  But I looked inside your xp
>>> script - at the way you do the shadow copy.  I've been looking for
>>> something like that for quite a while.  This is really good.
>>>
>>> Regards,
>>> Tomas
>>>
>>> Rod Dickerson wrote:
>>>> Well, I am calling it quits because of Vista. I have a pre-script
>>>> that works
>>>> with WinXP, which does the following:
>>>>
>>>> 1. Check to see if client (rsync) is installed, and if not, install it.
>>>> 2. Open firewall ports for rsync
>>>> 3. Create a snapshot and mount it to X:
>>>> 4. S

Re: [BackupPC-users] Scripts for VSS backups of XP

2007-09-28 Thread Tomas Florian
I was curious about the vshadow functionality in all of this so I tried
it.  It works fine on Windows 2003, but not on Windows XP SP2 (I tried 4
different machines including one installed from scratch in a VM)  I get
the same error for the following commands:

vshadow -q
vshadow -p -nw C:


VSHADOW.EXE 2.2 - Volume Shadow Copy sample client
Copyright (C) 2005 Microsoft Corporation. All rights reserved.


(Option: Query all shadow copies)
- Setting the VSS context to: 0x

ERROR: COM call "m_pVssObject->SetContext(dwContext)" failed.
- Returned HRESULT = 0xc005
- Error text: 
- Please re-run VSHADOW.EXE with the /tracing option to get more details



the tracing option didn't help because all it says is "Unknown error
code" as well.  All of the XPs I tried it on were professional and some
of them had most recent updates while others did not.

You mentioned having trouble with Vista which is not such a big
surprise, but what about XP?   Or am I missing some prerequisite when
running vshadow by itself?

I saw that my Shadow Service in services wasn't started.  So I started
that on the XP machines but I got the same result.  On Win 2003 SBS
server it worked the first time with no trouble at at all.

Regards,
Tomas


Tomas Florian wrote:
> Thanks Rod,
> 
> I haven't had a chance to test it yet.  But I looked inside your xp
> script - at the way you do the shadow copy.  I've been looking for
> something like that for quite a while.  This is really good.
> 
> Regards,
> Tomas
> 
> Rod Dickerson wrote:
>> Well, I am calling it quits because of Vista. I have a pre-script that works
>> with WinXP, which does the following:
>>
>> 1. Check to see if client (rsync) is installed, and if not, install it.
>> 2. Open firewall ports for rsync
>> 3. Create a snapshot and mount it to X:
>> 4. Start rsyncd, exporting X:
>> 5. Check to make sure that processes are running
>> 6. Turn over to BPC for backup
>>
>> After the backup, the post-script does the following:
>>
>> 1. Tear down the snapshot (kill rsync processes)
>> 2. Remove the X: drive
>> 3. Close firewall ports for rsync
>>
>> The install_client script does the following:
>>
>> 1. Verifies that the target hostname matches the requested hostname. This is
>> important because of the next step.
>> 2. Establishes a unique password for rsync for the machine. This is put into
>> rsyncd.secrets and hostname.pl for the client. This is to ensure that BPC
>> will not back up machine X thinking it is machine Y. I know there is some
>> name checking when the backup starts, but dynamic name registration is not
>> always perfect. 
>> 3. Copies rsync and other binaries to c:\rsyncd on the client. You need to
>> put the rsyncd.tar.gz files in /home/backuppc/backuppc_client or some other
>> directory (but change the scripts accordingly). You also need to get the
>> rest of rsync from the backuppc.sourceforge.net page; this tar only includes
>> my config files for reference. I couldn¹t include everything because the
>> file size is too big for the list.
>> 4. Sets the host password in /etc/BackupPC/pc/hostname.pl
>>
>> You will also need the following things installed on the server, which you
>> may not have:
>>
>> Apg ­ password generator. Used by install_client. This should be available
>> in apt, yum, etc.
>> Winexe ­ allows remote command execution on windows hosts from Linux.
>> http://eol.ovh.org/winexe/
>>
>> I really wanted to get kerberos authentication working, but this is where I
>> got stuck. It seems to work fine when running BackupPC_dump when su¹d to
>> backuppc, but when I run it from the daemon (via the CGI page), it hangs
>> when running winexe. There seems to be some issue with winexe when it is ran
>> this way, and I am not sure if it is the way that Perl calls shell commands,
>> or if it is BackupPC. I tried to debug it, but I am not a programmer (as you
>> will see in my scripting genius) nor am I am Perl guru. I am submitting my
>> work so that others may be able to figure it out, because I am stuck and at
>> this point I can¹t continue using BPC (sadly). One main reason why I wanted
>> to use Kerberos is because it doesn¹t require the backuppc user¹s
>> credentials to be stored in clear text on the file system, and also because
>> Vista seems to have some issue with using NTLM. I found that when I tried to
>> connect to Vista over a WAN connection using NTLM sometimes it would time
>> out, yet using Kerberos (from the shell) worked every time. So there must be
>> something strange about how Vista uses NTLM or something, because I never
>> had

Re: [BackupPC-users] Scripts for VSS backups of XP

2007-09-27 Thread Tomas Florian
-
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> 
> 
> --------
> 
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/


-- 

Tomas Florian
Florien

Suite 812, 738 3rd Ave SW
Calgary Alberta, T2P 0G7

(403) 714-3914
[EMAIL PROTECTED]
www.florien.ca

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Feature request: user-configurable directory exclusion

2007-08-18 Thread Tomas Florian
Sending the files or directories individually would be a great feature
in itself.  I have had so many problems with rsync and tar running out
of resources because of the cumulative share size being too large.
Sending the sub-directories individually would solve that headache ... +
having the option to exclude with the .donobackup would be just that
much better.

I was looking at a way to patch backuppc to do something like this, I
think I'll have another look - although I still don't fully understand
the whole process.

Tomas

> 
> It would probably require a change in the way BackupPC runs those commands. 
> Maybe it would have to collect the files and send them to rsync or whatever 
> instead?
> 
> I haven't touched BackupPC's code, so I'm blind to the current situation. You 
> guys are the developers, so if it won't work on your end, it won't work at 
> all. :)
> 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Strange files in Windows 2003 backup - more

2006-01-28 Thread Tomas Florian
Actually it's even worse than I thought ... I am actually missing a few 
folders in some backup sets.
Also, another thing that's different is that I'm running backupPC in 
VMWare 5


Tomas
--- Begin Message ---

Hello,

I'm backing up a Windows 2003 server using SMB ... everything works 
great except that I see some weird files or folders in my backups:


for example:

OTElOSUVOQdIT0xESU5HQNIT1JB0hPUi1HRU5B0hPUi1NRVREUhPUklaT05UQUwtQUNIU0VOQhIT 
1JNSUdPTkESE9VUkLSE9VU0VMQVlPVVRAkhQQJIUkCSFNAkhUQNIVENBEhUQ0hBEhUVTFA0hUV0

or
0JQ09NUEFRX1Rf 
QlDT01QQVFfVV9CUNPTVBBUV9YX0LQ09NUEFSQVRJVkFDUNPTVBMRVRBTUVOVE9B0NPTVBSQVNB0 
NPTVBVVElCkNPTVVfVEVSUkFBkNPTVVORUDQ09OQVDT04tMUIQ09OX0xBX0JC


I have about 20 of these sitting there.  And quite understandably they 
also show up in my error log.
I'm guessing these are left over from some shadow copy ... or something 
like that.  I know BackupPC doesn't use shadow copy at all..  But I do 
use NTBackup on daily basis (as a secondary)


Any ideas what this stuff is?  ... Of course when I browse the server 
using explorer these things are not there ...


Thanks for any ideas,
Tomas





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

--- End Message ---


[BackupPC-users] Strange files in Windows 2003 backup

2006-01-28 Thread Tomas Florian

Hello,

I'm backing up a Windows 2003 server using SMB ... everything works 
great except that I see some weird files or folders in my backups:


for example:

OTElOSUVOQdIT0xESU5HQNIT1JB0hPUi1HRU5B0hPUi1NRVREUhPUklaT05UQUwtQUNIU0VOQhIT 
1JNSUdPTkESE9VUkLSE9VU0VMQVlPVVRAkhQQJIUkCSFNAkhUQNIVENBEhUQ0hBEhUVTFA0hUV0

or
0JQ09NUEFRX1Rf 
QlDT01QQVFfVV9CUNPTVBBUV9YX0LQ09NUEFSQVRJVkFDUNPTVBMRVRBTUVOVE9B0NPTVBSQVNB0 
NPTVBVVElCkNPTVVfVEVSUkFBkNPTVVORUDQ09OQVDT04tMUIQ09OX0xBX0JC


I have about 20 of these sitting there.  And quite understandably they 
also show up in my error log.
I'm guessing these are left over from some shadow copy ... or something 
like that.  I know BackupPC doesn't use shadow copy at all..  But I do 
use NTBackup on daily basis (as a secondary)


Any ideas what this stuff is?  ... Of course when I browse the server 
using explorer these things are not there ...


Thanks for any ideas,
Tomas





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/