How to Backup and Restore a Database in SQL Express

  Рет қаралды 1,398

Sean MacKenzie Data Engineering

Sean MacKenzie Data Engineering

Күн бұрын

Пікірлер: 10
@TheVideo2002
@TheVideo2002 Ай бұрын
3:15 I'm only able to do a backup in drive C:\ Is possible to do a backup in another server in the network, using SQL Express?
@seanmackenziedataengineering
@seanmackenziedataengineering Ай бұрын
Yes this is generally the case (you can use other mapped drives like D: F: etc). Generally, my process for network drives is to run a windows scheduled task that moves the backup file to the network after it is created (literally a one-liner PS or cmd script). Or, you can have a folder as a service like Dropbox or Sync that you back up into and the service takes care of syncing to the cloud etc. You can use a UNC path to create the backup in a network folder but then you have to work with permissions. Make sure the SQL Server account has all the necessary permissions on the remote computer.
@ballaomer6738
@ballaomer6738 7 ай бұрын
Great tutorial sir , appreciate it ❤
@seanmackenziedataengineering
@seanmackenziedataengineering 7 ай бұрын
Glad you liked it!
@iacobradu2899
@iacobradu2899 7 ай бұрын
Hey, nice video. Its mandatory to use master before doing the backup?
@seanmackenziedataengineering
@seanmackenziedataengineering 7 ай бұрын
It is not mandatory for the backup, but more of a best practices thing. When you start backing up, restoring, adding & removing logins and permissions, you'll be changing context all the time so it is good to explicitly say where you want to "work" before performing script operations.
@sudarsonoliyis
@sudarsonoliyis 7 ай бұрын
Can I run the sql from my access , so backup can be done everyday from my database?
@seanmackenziedataengineering
@seanmackenziedataengineering 7 ай бұрын
You can, using an ADO connection. Good topic for a video actually! One way that people do a daily backup is to use Windows Scheduler to call a simple script to execute the batch each day/hour/week/etc This way, if your Access db is not open, it will still run the backup.
@sudarsonoliyis
@sudarsonoliyis 7 ай бұрын
@@seanmackenziedataengineering thanks for the insight, just done integrate your backup sql code to my database and it works
@seanmackenziedataengineering
@seanmackenziedataengineering 7 ай бұрын
@@sudarsonoliyis nice!
How to Kick Users Out of SQL Server Databases
14:14
Sean MacKenzie Data Engineering
Рет қаралды 464
How to Install and Use SQL Express
16:53
Sean MacKenzie Data Engineering
Рет қаралды 30 М.
Smart Sigma Kid #funny #sigma
00:33
CRAZY GREAPA
Рет қаралды 37 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 55 МЛН
Accompanying my daughter to practice dance is so annoying #funny #cute#comedy
00:17
Funny daughter's daily life
Рет қаралды 29 МЛН
SQL Indexes Explained in 20 Minutes
19:31
developedbyed
Рет қаралды 13 М.
How to Use Streamlit with Microsoft Access
24:34
Sean MacKenzie Data Engineering
Рет қаралды 1,6 М.
How to Design Tables in SQL Express for Use with MS Access
25:32
Sean MacKenzie Data Engineering
Рет қаралды 5 М.
Display Interactive Maps in Python using Flet | Part 1
16:26
Henri Ndonko - TheEthicalBoy
Рет қаралды 4,4 М.
Detach and Attach a Database in SQL Server
10:21
SQL with Manoj
Рет қаралды 88 М.
SQL Backup & Restore (Restore .bak file)
6:46
Database Guy
Рет қаралды 165
Types of Backup in SQL Server || Ms SQL
20:25
Right to Learn @BK
Рет қаралды 47 М.
SQL Server Database Restore using SSMS
11:31
Kevin Hill
Рет қаралды 3,4 М.
How to BACKUP DATABASES in SQL Server Management Studio
5:49
BI with Mina
Рет қаралды 170 М.