Any reasons why backing up to a USB 2.0 HD would be bad? It's quick, easy,
and cheap. The main server is running low on storage and want to offload my
online backups ... thought this would be a cheap solution. The only backups
happening during production are log backups which are only at most 2mb.
Shaun Beane, MCDBA, MCT
http://dbageek.blogspot.com
Shaun,
I wouldn't do this in a corporate environment, but I might consider it
at home for pet projects. I always prefer to backup to local disk first,
and then xcopy/robocopy the file elsewhere, or get a tape backup agent
to grab it.
Mark Allison, SQL Server MVP
http://www.markallison.co.uk
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602m.html
Shaun Beane wrote:
> Any reasons why backing up to a USB 2.0 HD would be bad? It's quick, easy,
> and cheap. The main server is running low on storage and want to offload my
> online backups ... thought this would be a cheap solution. The only backups
> happening during production are log backups which are only at most 2mb.
>
|||I agree, but I'm running low on disk space and mr. big boss man doesn't want
to spend the money on an additional drive for the raid. I can get a USB 2.0
drive for about 100 bucks. I would be backing up to the local USB drive
instead of local internal disk. Then I would backup to tape from there.
Shaun Beane, MCDBA, MCT
http://dbageek.blogspot.com
"Mark Allison" <marka@.no.tinned.meat.mvps.org> wrote in message
news:eRV7zzMyEHA.4028@.TK2MSFTNGP09.phx.gbl...[vbcol=seagreen]
> Shaun,
> I wouldn't do this in a corporate environment, but I might consider it at
> home for pet projects. I always prefer to backup to local disk first, and
> then xcopy/robocopy the file elsewhere, or get a tape backup agent to grab
> it.
> --
> Mark Allison, SQL Server MVP
> http://www.markallison.co.uk
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602m.html
>
> Shaun Beane wrote:
|||For an additional 99 bucks, you could get MiniSQLBackup which ought to be
able to compress your backups to averagely 25% of their original size, and
then have it copy it to your USB drive upon completion. E.g. of syntax:
BACKUP mydb TO DISK = 'F:\Backups\db.bak' WITH COPYTO = 'U:\Backups\';
Or if you perform the backups manually, you could even use the free edition.
Peter Yeoh
http://www.yohz.com
Need smaller SQL2K backups? Use MiniSQLBackup Lite, free!
Showing posts with label storage. Show all posts
Showing posts with label storage. Show all posts
Sunday, February 12, 2012
Backup to USB 2.0 drive
Any reasons why backing up to a USB 2.0 HD would be bad? It's quick, easy,
and cheap. The main server is running low on storage and want to offload my
online backups ... thought this would be a cheap solution. The only backups
happening during production are log backups which are only at most 2mb.
Shaun Beane, MCDBA, MCT
http://dbageek.blogspot.comShaun,
I wouldn't do this in a corporate environment, but I might consider it
at home for pet projects. I always prefer to backup to local disk first,
and then xcopy/robocopy the file elsewhere, or get a tape backup agent
to grab it.
--
Mark Allison, SQL Server MVP
http://www.markallison.co.uk
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602m.html
Shaun Beane wrote:
> Any reasons why backing up to a USB 2.0 HD would be bad? It's quick, easy
,
> and cheap. The main server is running low on storage and want to offload
my
> online backups ... thought this would be a cheap solution. The only backu
ps
> happening during production are log backups which are only at most 2mb.
>|||I agree, but I'm running low on disk space and mr. big boss man doesn't want
to spend the money on an additional drive for the raid. I can get a USB 2.0
drive for about 100 bucks. I would be backing up to the local USB drive
instead of local internal disk. Then I would backup to tape from there.
Shaun Beane, MCDBA, MCT
http://dbageek.blogspot.com
"Mark Allison" <marka@.no.tinned.meat.mvps.org> wrote in message
news:eRV7zzMyEHA.4028@.TK2MSFTNGP09.phx.gbl...[vbcol=seagreen]
> Shaun,
> I wouldn't do this in a corporate environment, but I might consider it at
> home for pet projects. I always prefer to backup to local disk first, and
> then xcopy/robocopy the file elsewhere, or get a tape backup agent to grab
> it.
> --
> Mark Allison, SQL Server MVP
> http://www.markallison.co.uk
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602m.html
>
> Shaun Beane wrote:|||For an additional 99 bucks, you could get MiniSQLBackup which ought to be
able to compress your backups to averagely 25% of their original size, and
then have it copy it to your USB drive upon completion. E.g. of syntax:
BACKUP mydb TO DISK = 'F:\Backups\db.bak' WITH COPYTO = 'U:\Backups';
Or if you perform the backups manually, you could even use the free edition.
Peter Yeoh
http://www.yohz.com
Need smaller SQL2K backups? Use MiniSQLBackup Lite, free!
and cheap. The main server is running low on storage and want to offload my
online backups ... thought this would be a cheap solution. The only backups
happening during production are log backups which are only at most 2mb.
Shaun Beane, MCDBA, MCT
http://dbageek.blogspot.comShaun,
I wouldn't do this in a corporate environment, but I might consider it
at home for pet projects. I always prefer to backup to local disk first,
and then xcopy/robocopy the file elsewhere, or get a tape backup agent
to grab it.
--
Mark Allison, SQL Server MVP
http://www.markallison.co.uk
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602m.html
Shaun Beane wrote:
> Any reasons why backing up to a USB 2.0 HD would be bad? It's quick, easy
,
> and cheap. The main server is running low on storage and want to offload
my
> online backups ... thought this would be a cheap solution. The only backu
ps
> happening during production are log backups which are only at most 2mb.
>|||I agree, but I'm running low on disk space and mr. big boss man doesn't want
to spend the money on an additional drive for the raid. I can get a USB 2.0
drive for about 100 bucks. I would be backing up to the local USB drive
instead of local internal disk. Then I would backup to tape from there.
Shaun Beane, MCDBA, MCT
http://dbageek.blogspot.com
"Mark Allison" <marka@.no.tinned.meat.mvps.org> wrote in message
news:eRV7zzMyEHA.4028@.TK2MSFTNGP09.phx.gbl...[vbcol=seagreen]
> Shaun,
> I wouldn't do this in a corporate environment, but I might consider it at
> home for pet projects. I always prefer to backup to local disk first, and
> then xcopy/robocopy the file elsewhere, or get a tape backup agent to grab
> it.
> --
> Mark Allison, SQL Server MVP
> http://www.markallison.co.uk
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602m.html
>
> Shaun Beane wrote:|||For an additional 99 bucks, you could get MiniSQLBackup which ought to be
able to compress your backups to averagely 25% of their original size, and
then have it copy it to your USB drive upon completion. E.g. of syntax:
BACKUP mydb TO DISK = 'F:\Backups\db.bak' WITH COPYTO = 'U:\Backups';
Or if you perform the backups manually, you could even use the free edition.
Peter Yeoh
http://www.yohz.com
Need smaller SQL2K backups? Use MiniSQLBackup Lite, free!
Backup to USB 2.0 drive
Any reasons why backing up to a USB 2.0 HD would be bad? It's quick, easy,
and cheap. The main server is running low on storage and want to offload my
online backups ... thought this would be a cheap solution. The only backups
happening during production are log backups which are only at most 2mb.
--
Shaun Beane, MCDBA, MCT
http://dbageek.blogspot.comShaun,
I wouldn't do this in a corporate environment, but I might consider it
at home for pet projects. I always prefer to backup to local disk first,
and then xcopy/robocopy the file elsewhere, or get a tape backup agent
to grab it.
--
Mark Allison, SQL Server MVP
http://www.markallison.co.uk
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602m.html
Shaun Beane wrote:
> Any reasons why backing up to a USB 2.0 HD would be bad? It's quick, easy,
> and cheap. The main server is running low on storage and want to offload my
> online backups ... thought this would be a cheap solution. The only backups
> happening during production are log backups which are only at most 2mb.
>|||I agree, but I'm running low on disk space and mr. big boss man doesn't want
to spend the money on an additional drive for the raid. I can get a USB 2.0
drive for about 100 bucks. I would be backing up to the local USB drive
instead of local internal disk. Then I would backup to tape from there.
--
Shaun Beane, MCDBA, MCT
http://dbageek.blogspot.com
"Mark Allison" <marka@.no.tinned.meat.mvps.org> wrote in message
news:eRV7zzMyEHA.4028@.TK2MSFTNGP09.phx.gbl...
> Shaun,
> I wouldn't do this in a corporate environment, but I might consider it at
> home for pet projects. I always prefer to backup to local disk first, and
> then xcopy/robocopy the file elsewhere, or get a tape backup agent to grab
> it.
> --
> Mark Allison, SQL Server MVP
> http://www.markallison.co.uk
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602m.html
>
> Shaun Beane wrote:
>> Any reasons why backing up to a USB 2.0 HD would be bad? It's quick,
>> easy, and cheap. The main server is running low on storage and want to
>> offload my online backups ... thought this would be a cheap solution.
>> The only backups happening during production are log backups which are
>> only at most 2mb.|||For an additional 99 bucks, you could get MiniSQLBackup which ought to be
able to compress your backups to averagely 25% of their original size, and
then have it copy it to your USB drive upon completion. E.g. of syntax:
BACKUP mydb TO DISK = 'F:\Backups\db.bak' WITH COPYTO = 'U:\Backups\';
Or if you perform the backups manually, you could even use the free edition.
--
Peter Yeoh
http://www.yohz.com
Need smaller SQL2K backups? Use MiniSQLBackup Lite, free!
and cheap. The main server is running low on storage and want to offload my
online backups ... thought this would be a cheap solution. The only backups
happening during production are log backups which are only at most 2mb.
--
Shaun Beane, MCDBA, MCT
http://dbageek.blogspot.comShaun,
I wouldn't do this in a corporate environment, but I might consider it
at home for pet projects. I always prefer to backup to local disk first,
and then xcopy/robocopy the file elsewhere, or get a tape backup agent
to grab it.
--
Mark Allison, SQL Server MVP
http://www.markallison.co.uk
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602m.html
Shaun Beane wrote:
> Any reasons why backing up to a USB 2.0 HD would be bad? It's quick, easy,
> and cheap. The main server is running low on storage and want to offload my
> online backups ... thought this would be a cheap solution. The only backups
> happening during production are log backups which are only at most 2mb.
>|||I agree, but I'm running low on disk space and mr. big boss man doesn't want
to spend the money on an additional drive for the raid. I can get a USB 2.0
drive for about 100 bucks. I would be backing up to the local USB drive
instead of local internal disk. Then I would backup to tape from there.
--
Shaun Beane, MCDBA, MCT
http://dbageek.blogspot.com
"Mark Allison" <marka@.no.tinned.meat.mvps.org> wrote in message
news:eRV7zzMyEHA.4028@.TK2MSFTNGP09.phx.gbl...
> Shaun,
> I wouldn't do this in a corporate environment, but I might consider it at
> home for pet projects. I always prefer to backup to local disk first, and
> then xcopy/robocopy the file elsewhere, or get a tape backup agent to grab
> it.
> --
> Mark Allison, SQL Server MVP
> http://www.markallison.co.uk
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602m.html
>
> Shaun Beane wrote:
>> Any reasons why backing up to a USB 2.0 HD would be bad? It's quick,
>> easy, and cheap. The main server is running low on storage and want to
>> offload my online backups ... thought this would be a cheap solution.
>> The only backups happening during production are log backups which are
>> only at most 2mb.|||For an additional 99 bucks, you could get MiniSQLBackup which ought to be
able to compress your backups to averagely 25% of their original size, and
then have it copy it to your USB drive upon completion. E.g. of syntax:
BACKUP mydb TO DISK = 'F:\Backups\db.bak' WITH COPYTO = 'U:\Backups\';
Or if you perform the backups manually, you could even use the free edition.
--
Peter Yeoh
http://www.yohz.com
Need smaller SQL2K backups? Use MiniSQLBackup Lite, free!
Backup to Storage Server in another domain.
I am attempting to use enterprise manager to backup databases to a
storage server in another domain and was looking for some advice.
Currently the server is running small business server so I cannot
create a trust to the storage servers domain.
I created a mapped drive when logged in as the sql service account but
this did not work.
I was thinking about making a job that used the net use command to
create the drive then running the backup script.
I was wondering if anyone else had a better solution for crossing the
domain security barrier.
Thanks!
Hi
I have my doubt that you have by EM backup database on remote computer.
BACKUP DATABASE db TO DISK =
N'\\ServerName\backup\db.BAK'
exec SRV003.master.dbo.sp_executesql N'BACKUP DATABASE pubs
to DISK =''d:\Program Files\Microsoft SQL
Server\MSSQL$BELLTOWER\BACKUP\testback.bak'''
exec SRV003.master.dbo.sp_executesql
N'BACKUP DATABASE pubs to testback'
<outoftherealm@.hotmail.com> wrote in message
news:1143475970.853389.244620@.u72g2000cwu.googlegr oups.com...
>I am attempting to use enterprise manager to backup databases to a
> storage server in another domain and was looking for some advice.
> Currently the server is running small business server so I cannot
> create a trust to the storage servers domain.
> I created a mapped drive when logged in as the sql service account but
> this did not work.
> I was thinking about making a job that used the net use command to
> create the drive then running the backup script.
> I was wondering if anyone else had a better solution for crossing the
> domain security barrier.
> Thanks!
>
|||Create a share on the remote server and then use unc path for the
destination.
e.g.
backup database <db>
to disk='\\remoteserver\shared\db.bak'
-oj
> <outoftherealm@.hotmail.com> wrote in message
> news:1143475970.853389.244620@.u72g2000cwu.googlegr oups.com...
>
|||If you dont want to create a permanent share then you can use
net use <drive name>: <unc path> user:<user name with doamin> password
ex
net use P: \\10.10.10.10\folder /user:mydomain\username password.
Run this job as first step and if is success take backup to mapped
drive.
Regards
Amish Shah
storage server in another domain and was looking for some advice.
Currently the server is running small business server so I cannot
create a trust to the storage servers domain.
I created a mapped drive when logged in as the sql service account but
this did not work.
I was thinking about making a job that used the net use command to
create the drive then running the backup script.
I was wondering if anyone else had a better solution for crossing the
domain security barrier.
Thanks!
Hi
I have my doubt that you have by EM backup database on remote computer.
BACKUP DATABASE db TO DISK =
N'\\ServerName\backup\db.BAK'
exec SRV003.master.dbo.sp_executesql N'BACKUP DATABASE pubs
to DISK =''d:\Program Files\Microsoft SQL
Server\MSSQL$BELLTOWER\BACKUP\testback.bak'''
exec SRV003.master.dbo.sp_executesql
N'BACKUP DATABASE pubs to testback'
<outoftherealm@.hotmail.com> wrote in message
news:1143475970.853389.244620@.u72g2000cwu.googlegr oups.com...
>I am attempting to use enterprise manager to backup databases to a
> storage server in another domain and was looking for some advice.
> Currently the server is running small business server so I cannot
> create a trust to the storage servers domain.
> I created a mapped drive when logged in as the sql service account but
> this did not work.
> I was thinking about making a job that used the net use command to
> create the drive then running the backup script.
> I was wondering if anyone else had a better solution for crossing the
> domain security barrier.
> Thanks!
>
|||Create a share on the remote server and then use unc path for the
destination.
e.g.
backup database <db>
to disk='\\remoteserver\shared\db.bak'
-oj
> <outoftherealm@.hotmail.com> wrote in message
> news:1143475970.853389.244620@.u72g2000cwu.googlegr oups.com...
>
|||If you dont want to create a permanent share then you can use
net use <drive name>: <unc path> user:<user name with doamin> password
ex
net use P: \\10.10.10.10\folder /user:mydomain\username password.
Run this job as first step and if is success take backup to mapped
drive.
Regards
Amish Shah
Backup to Storage Server in another domain.
I am attempting to use enterprise manager to backup databases to a
storage server in another domain and was looking for some advice.
Currently the server is running small business server so I cannot
create a trust to the storage servers domain.
I created a mapped drive when logged in as the sql service account but
this did not work.
I was thinking about making a job that used the net use command to
create the drive then running the backup script.
I was wondering if anyone else had a better solution for crossing the
domain security barrier.
Thanks!Hi
I have my doubt that you have by EM backup database on remote computer.
BACKUP DATABASE db TO DISK =
N'\\ServerName\backup\db.BAK'
exec SRV003.master.dbo.sp_executesql N'BACKUP DATABASE pubs
to DISK =''d:\Program Files\Microsoft SQL
Server\MSSQL$BELLTOWER\BACKUP\testback.bak'''
exec SRV003.master.dbo.sp_executesql
N'BACKUP DATABASE pubs to testback'
<outoftherealm@.hotmail.com> wrote in message
news:1143475970.853389.244620@.u72g2000cwu.googlegroups.com...
>I am attempting to use enterprise manager to backup databases to a
> storage server in another domain and was looking for some advice.
> Currently the server is running small business server so I cannot
> create a trust to the storage servers domain.
> I created a mapped drive when logged in as the sql service account but
> this did not work.
> I was thinking about making a job that used the net use command to
> create the drive then running the backup script.
> I was wondering if anyone else had a better solution for crossing the
> domain security barrier.
> Thanks!
>|||Create a share on the remote server and then use unc path for the
destination.
e.g.
backup database <db>
to disk='\\remoteserver\shared\db.bak'
-oj
> <outoftherealm@.hotmail.com> wrote in message
> news:1143475970.853389.244620@.u72g2000cwu.googlegroups.com...
>|||If you dont want to create a permanent share then you can use
net use <drive name>: <unc path> user:<user name with doamin> password
ex
net use P: \\10.10.10.10\folder /user:mydomain\username password.
Run this job as first step and if is success take backup to mapped
drive.
Regards
Amish Shah|||how to set username and password
when server run with local system service?
mydomain\username and password don't work or
server is in workgroup (not in domain)
Thanks
"amish" <shahamishm@.gmail.com> wrote in message
news:1143559961.804068.209860@.t31g2000cwb.googlegroups.com...
> If you dont want to create a permanent share then you can use
> net use <drive name>: <unc path> user:<user name with doamin> password
> ex
> net use P: \\10.10.10.10\folder /user:mydomain\username password.
> Run this job as first step and if is success take backup to mapped
> drive.
>
> Regards
> Amish Shah
>
storage server in another domain and was looking for some advice.
Currently the server is running small business server so I cannot
create a trust to the storage servers domain.
I created a mapped drive when logged in as the sql service account but
this did not work.
I was thinking about making a job that used the net use command to
create the drive then running the backup script.
I was wondering if anyone else had a better solution for crossing the
domain security barrier.
Thanks!Hi
I have my doubt that you have by EM backup database on remote computer.
BACKUP DATABASE db TO DISK =
N'\\ServerName\backup\db.BAK'
exec SRV003.master.dbo.sp_executesql N'BACKUP DATABASE pubs
to DISK =''d:\Program Files\Microsoft SQL
Server\MSSQL$BELLTOWER\BACKUP\testback.bak'''
exec SRV003.master.dbo.sp_executesql
N'BACKUP DATABASE pubs to testback'
<outoftherealm@.hotmail.com> wrote in message
news:1143475970.853389.244620@.u72g2000cwu.googlegroups.com...
>I am attempting to use enterprise manager to backup databases to a
> storage server in another domain and was looking for some advice.
> Currently the server is running small business server so I cannot
> create a trust to the storage servers domain.
> I created a mapped drive when logged in as the sql service account but
> this did not work.
> I was thinking about making a job that used the net use command to
> create the drive then running the backup script.
> I was wondering if anyone else had a better solution for crossing the
> domain security barrier.
> Thanks!
>|||Create a share on the remote server and then use unc path for the
destination.
e.g.
backup database <db>
to disk='\\remoteserver\shared\db.bak'
-oj
> <outoftherealm@.hotmail.com> wrote in message
> news:1143475970.853389.244620@.u72g2000cwu.googlegroups.com...
>|||If you dont want to create a permanent share then you can use
net use <drive name>: <unc path> user:<user name with doamin> password
ex
net use P: \\10.10.10.10\folder /user:mydomain\username password.
Run this job as first step and if is success take backup to mapped
drive.
Regards
Amish Shah|||how to set username and password
when server run with local system service?
mydomain\username and password don't work or
server is in workgroup (not in domain)
Thanks
"amish" <shahamishm@.gmail.com> wrote in message
news:1143559961.804068.209860@.t31g2000cwb.googlegroups.com...
> If you dont want to create a permanent share then you can use
> net use <drive name>: <unc path> user:<user name with doamin> password
> ex
> net use P: \\10.10.10.10\folder /user:mydomain\username password.
> Run this job as first step and if is success take backup to mapped
> drive.
>
> Regards
> Amish Shah
>
Friday, February 10, 2012
Backup to Storage Server in another domain.
I am attempting to use enterprise manager to backup databases to a
storage server in another domain and was looking for some advice.
Currently the server is running small business server so I cannot
create a trust to the storage servers domain.
I created a mapped drive when logged in as the sql service account but
this did not work.
I was thinking about making a job that used the net use command to
create the drive then running the backup script.
I was wondering if anyone else had a better solution for crossing the
domain security barrier.
Thanks!Hi
I have my doubt that you have by EM backup database on remote computer.
BACKUP DATABASE db TO DISK = N'\\ServerName\backup\db.BAK'
--
exec SRV003.master.dbo.sp_executesql N'BACKUP DATABASE pubs
to DISK =''d:\Program Files\Microsoft SQL
Server\MSSQL$BELLTOWER\BACKUP\testback.bak'''
exec SRV003.master.dbo.sp_executesql
N'BACKUP DATABASE pubs to testback'
<outoftherealm@.hotmail.com> wrote in message
news:1143475970.853389.244620@.u72g2000cwu.googlegroups.com...
>I am attempting to use enterprise manager to backup databases to a
> storage server in another domain and was looking for some advice.
> Currently the server is running small business server so I cannot
> create a trust to the storage servers domain.
> I created a mapped drive when logged in as the sql service account but
> this did not work.
> I was thinking about making a job that used the net use command to
> create the drive then running the backup script.
> I was wondering if anyone else had a better solution for crossing the
> domain security barrier.
> Thanks!
>|||Create a share on the remote server and then use unc path for the
destination.
e.g.
backup database <db>
to disk='\\remoteserver\shared\db.bak'
-oj
> <outoftherealm@.hotmail.com> wrote in message
> news:1143475970.853389.244620@.u72g2000cwu.googlegroups.com...
>>I am attempting to use enterprise manager to backup databases to a
>> storage server in another domain and was looking for some advice.
>> Currently the server is running small business server so I cannot
>> create a trust to the storage servers domain.
>> I created a mapped drive when logged in as the sql service account but
>> this did not work.
>> I was thinking about making a job that used the net use command to
>> create the drive then running the backup script.
>> I was wondering if anyone else had a better solution for crossing the
>> domain security barrier.
>> Thanks!
>|||If you dont want to create a permanent share then you can use
net use <drive name>: <unc path> user:<user name with doamin> password
ex
net use P: \\10.10.10.10\folder /user:mydomain\username password.
Run this job as first step and if is success take backup to mapped
drive.
Regards
Amish Shah|||how to set username and password
when server run with local system service?
mydomain\username and password don't work or
server is in workgroup (not in domain)
Thanks
"amish" <shahamishm@.gmail.com> wrote in message
news:1143559961.804068.209860@.t31g2000cwb.googlegroups.com...
> If you dont want to create a permanent share then you can use
> net use <drive name>: <unc path> user:<user name with doamin> password
> ex
> net use P: \\10.10.10.10\folder /user:mydomain\username password.
> Run this job as first step and if is success take backup to mapped
> drive.
>
> Regards
> Amish Shah
>
storage server in another domain and was looking for some advice.
Currently the server is running small business server so I cannot
create a trust to the storage servers domain.
I created a mapped drive when logged in as the sql service account but
this did not work.
I was thinking about making a job that used the net use command to
create the drive then running the backup script.
I was wondering if anyone else had a better solution for crossing the
domain security barrier.
Thanks!Hi
I have my doubt that you have by EM backup database on remote computer.
BACKUP DATABASE db TO DISK = N'\\ServerName\backup\db.BAK'
--
exec SRV003.master.dbo.sp_executesql N'BACKUP DATABASE pubs
to DISK =''d:\Program Files\Microsoft SQL
Server\MSSQL$BELLTOWER\BACKUP\testback.bak'''
exec SRV003.master.dbo.sp_executesql
N'BACKUP DATABASE pubs to testback'
<outoftherealm@.hotmail.com> wrote in message
news:1143475970.853389.244620@.u72g2000cwu.googlegroups.com...
>I am attempting to use enterprise manager to backup databases to a
> storage server in another domain and was looking for some advice.
> Currently the server is running small business server so I cannot
> create a trust to the storage servers domain.
> I created a mapped drive when logged in as the sql service account but
> this did not work.
> I was thinking about making a job that used the net use command to
> create the drive then running the backup script.
> I was wondering if anyone else had a better solution for crossing the
> domain security barrier.
> Thanks!
>|||Create a share on the remote server and then use unc path for the
destination.
e.g.
backup database <db>
to disk='\\remoteserver\shared\db.bak'
-oj
> <outoftherealm@.hotmail.com> wrote in message
> news:1143475970.853389.244620@.u72g2000cwu.googlegroups.com...
>>I am attempting to use enterprise manager to backup databases to a
>> storage server in another domain and was looking for some advice.
>> Currently the server is running small business server so I cannot
>> create a trust to the storage servers domain.
>> I created a mapped drive when logged in as the sql service account but
>> this did not work.
>> I was thinking about making a job that used the net use command to
>> create the drive then running the backup script.
>> I was wondering if anyone else had a better solution for crossing the
>> domain security barrier.
>> Thanks!
>|||If you dont want to create a permanent share then you can use
net use <drive name>: <unc path> user:<user name with doamin> password
ex
net use P: \\10.10.10.10\folder /user:mydomain\username password.
Run this job as first step and if is success take backup to mapped
drive.
Regards
Amish Shah|||how to set username and password
when server run with local system service?
mydomain\username and password don't work or
server is in workgroup (not in domain)
Thanks
"amish" <shahamishm@.gmail.com> wrote in message
news:1143559961.804068.209860@.t31g2000cwb.googlegroups.com...
> If you dont want to create a permanent share then you can use
> net use <drive name>: <unc path> user:<user name with doamin> password
> ex
> net use P: \\10.10.10.10\folder /user:mydomain\username password.
> Run this job as first step and if is success take backup to mapped
> drive.
>
> Regards
> Amish Shah
>
Subscribe to:
Posts (Atom)