Comprehensive data protection for all workloads
Post Reply
EBoucq
Service Provider
Posts: 263
Liked: 17 times
Joined: Jan 21, 2011 10:10 am
Full Name: Eric Boucq
Contact:

Log shipping files location

Post by EBoucq »

Hi,

When you choose to backups the (SQL) logs in your Veeam job, you have to select a log shipping server.
Could you tell me in what directory of the repository, Veeam will copy those logs please ?

Thanks.
Eric
nielsengelen
Product Manager
Posts: 5619
Liked: 1177 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Log shipping files location

Post by nielsengelen »

They will be saved into the same folder created by the Backup Job. If your job is called "SQL servers" it will be on the repo in the folder "SQL servers".
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
EBoucq
Service Provider
Posts: 263
Liked: 17 times
Joined: Jan 21, 2011 10:10 am
Full Name: Eric Boucq
Contact:

Re: Log shipping files location

Post by EBoucq »

Hi Niels,

Thanks for your reply.

I chose a different server/Repository so the VM backup files shouldn't be in the same folder as the log shipping files. When I look in the repository I chose for the logs, there's no folder names after the job name....
PTide
Product Manager
Posts: 6408
Liked: 724 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Log shipping files location

Post by PTide »

Hi,

There should be no nested folder in your backup folder - log backups have .vlb extension and are kept in the same folder where your VM backups reside. The absence of .vlb files would mean that no logs have been backed up.

Thank you.
EBoucq
Service Provider
Posts: 263
Liked: 17 times
Joined: Jan 21, 2011 10:10 am
Full Name: Eric Boucq
Contact:

Re: Log shipping files location

Post by EBoucq »

Thanks
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Log shipping files location

Post by foggy »

Eric, if you're asking about the temporary location of transaction logs backups on the shipping server itself, then they are stored in the C:\Windows\Temp folder.
Gostev
Chief Product Officer
Posts: 31460
Liked: 6648 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Log shipping files location

Post by Gostev »

To be more precise, I believe we are using whatever location %TEMP% system environment variable points to, which by default is C:\Windows\Temp.
onob9999
Novice
Posts: 3
Liked: never
Joined: Mar 20, 2017 8:37 am
Full Name: Jon Otterholm
Contact:

Re: Log shipping files location

Post by onob9999 »

Hi.

Is it possible to change this to another folder/drive?

//Jon
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Log shipping files location

Post by foggy »

By redirecting %TEMP% to another location.
mdiver
Veeam Legend
Posts: 201
Liked: 33 times
Joined: Nov 04, 2009 2:08 pm
Location: Heidelberg, Germany
Contact:

Re: Log shipping files location

Post by mdiver »

Gostev wrote: Apr 21, 2016 7:15 pm To be more precise, I believe we are using whatever location %TEMP% system environment variable points to, which by default is C:\Windows\Temp.
Does this also apply to the Hyper-V host that is becoming the log-shipping server when PS direct is used to ship logs?

Thanx,
Mike
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Log shipping files location

Post by foggy »

Hi Mike, the current logic is to place the logs on the disk with the largest amount of free space available.
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Log shipping files location

Post by foggy »

...which works for the log shipping server but not for the Hyper-V host itself. In the case of Hyper-V, the logs are first copied to the host after being retrieved via PS direct and then to the log shipping server, if specified. On the host, they are currently stored in the ADMIN$ share - we will consider applying the space estimation logic to the Hyper-V host as well.
masonit
Service Provider
Posts: 325
Liked: 23 times
Joined: Oct 09, 2012 2:30 pm
Full Name: Maso
Contact:

Re: Log shipping files location

Post by masonit »

foggy wrote: Nov 05, 2021 4:57 pm Hi Mike, the current logic is to place the logs on the disk with the largest amount of free space available.
If E: would have the largest amount of free space. Would it then be E:\Temp\ where log shipping server would locally place the temporary files? Is it possible to set this with a regkey? As you can on the MS SQL server with the "SqlTempLogPath" regkey.

\Maso
PetrM
Veeam Software
Posts: 3229
Liked: 520 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: Log shipping files location

Post by PetrM »

Hi Maso,

Yes, E: will be selected. I think that the regkey exists but I need to have some time to look for it. If my assumption about regkey is correct, I'll update the topic.

Thanks!
PetrM
Veeam Software
Posts: 3229
Liked: 520 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: Log shipping files location

Post by PetrM » 2 people like this post

@masonit

You may try this registry key on the log shipping server: TempPathDir (in HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication)

Thanks!
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 216 guests