Enquires on how to use 'incremental and 'statefile' in Hobocopy

444 views
Skip to first unread message

Felicia .

unread,
Dec 18, 2012, 2:47:16 AM12/18/12
to hobo...@googlegroups.com, Felicia
Hi Craig,
 
Kindly advise if we are able to output the logs into a file and save it?
Also need your assistance to advise how do we use the 'incremental' command and how do we get the 'statefile' for hobocopy?
 
Appreciate your response and assistance on my above enquiry.
 
 
Thank you.
 
 
Regards,
Felicia

Craig Andera

unread,
Dec 18, 2012, 8:51:14 AM12/18/12
to hobo...@googlegroups.com, Felicia
When you say "logs", there are a couple things you might be talking
about. One is the statefile, and another is the output of hobocopy.
The statefile, IIRC, just saves a date in XML format, which is the
time hobocopy last ran. The output is for diagnostic purposes, and can
be saved to a file with the standard shell redirection stuff.

My implementation of incremental copy is pretty lame, to be honest. It
just copies any files that have a "changed" date that's newer than
what's in the statefile. Obviously, that's broken in several ways. For
starters, to really do an incremental backup correctly, the statefile
should save information about every file it copied, which it does not.
But it sort of works.

Here's how I run hobocopy. First, I do a full backup like this:

hobocopy /skipdenied /y /verbosity=3 /recursive
/statefile=C:\data\backup\backup.state /clear C:\data
\\servername\sharename\full-backup

Then later I do an incremental one like this:

/skipdenied /y /verbosity=3 /recursive /incremental
/statefile=C:\data\backup\backup.state /clear C:\data
\\servername\sharename\incremental-backup-1

Hope that helps.

Craig Andera

unread,
Dec 18, 2012, 9:43:03 PM12/18/12
to Felicia ., hobo...@googlegroups.com
Have you tried redirecting the output to a file via ">"? E.g.:

hobocopy \path\from \path\to > output.log

On Tue, Dec 18, 2012 at 9:01 PM, Felicia . <sen...@hotmail.com> wrote:
>
> Hi Craig,
>
> Really appreciate your prompt response and assistance on this, it really
> helps clarify my doubts to this point.
> I am going to try this ("statefile") in the meantime.
>
> However, i do have another question, which you mentioned.
> Are we able to save the output of Hobocopy? If so, how do we go about doing
> it?
> I am encountering problems trying to do so.
>
> Kindly advise.
> Thank you so much for your help.
>
>
> Regards,
> Felicia
>> Date: Tue, 18 Dec 2012 08:51:14 -0500
>> Subject: Re: [hobocopy] Enquires on how to use 'incremental and
>> 'statefile' in Hobocopy
>> From: can...@wangdera.com
>> To: hobo...@googlegroups.com
>> CC: sen...@hotmail.com
>
>>
>> When you say "logs", there are a couple things you might be talking
>> about. One is the statefile, and another is the output of hobocopy.
>> The statefile, II RC, just saves a date in XML format, which is the
>
>> time hobocopy last ran. The output is for diagnostic purposes, and can
>> be saved to a file with the standard shell redirection stuff.
>>
>> My implementation of incremental copy is pretty lame, to be honest. It
>> just copies any files that have a "changed" date that's newer than
>> what's in the statefile. Obviously, that's broken in several ways. For
>> starters, to really do an incremental backup correctly, the statefile
>> should save information about every file it copied, which it does not.
>> But it sort of works.
>>
>> Here's how I run hobocopy. First, I do a full backup like this:
>>
>> hobocopy /skipdenied /y /verbosity=3 /recursive
>> /statefile=C:\data\backup\backup.state /clear C:\data
>> \\servername\sharename\full-backup
>>
>> Then later I do an incremental one like this:
>>
>> /skipdenied /y /verbosity=3 /r ecursive /incremental

Felicia .

unread,
Dec 19, 2012, 11:17:53 PM12/19/12
to can...@wangdera.com, hobo...@googlegroups.com
Hi Craig,
 
Thank you very much for your help. It works as of now.
But i just want to check with you on one issue. I have already changed the permissions for the folders which i am required to copy.
But is there any reason why i am still unable to copy some of the files? 
Could it still be because of permissioning problems?
 
Kindly advise me on this.
Thanks.
 
 
Regards,
Felicia
 
> Date: Tue, 18 Dec 2012 21:43:03 -0500

> Subject: Re: [hobocopy] Enquires on how to use 'incremental and 'statefile' in Hobocopy
> From: can...@wangdera.com

Craig Andera

unread,
Dec 20, 2012, 9:26:59 AM12/20/12
to hobo...@googlegroups.com
> But i just want to check with you on one issue. I have already changed the
> permissions for the folders which i am required to copy.
> But is there any reason why i am still unable to copy some of the files?
> Could it still be because of permissioning problems?

What error are you seeing?

Also, I suspect you are seeing this problem:
https://groups.google.com/forum/?fromgroups=#!topic/hobocopy/N4Xg9YcC0_c
Reply all
Reply to author
Forward
0 new messages