About 1,010,000 results
Open links in new tab
  1. How to backup Sql Server to sql file? - Stack Overflow

    Mar 6, 2011 · Use SQL Server's Generate Scripts commend right click on the database; Tasks -> Generate Scripts select your tables, click Next click the Advanced button find Types of data to …

  2. How to restore to a different database in SQL Server?

    Jun 7, 2011 · To restore a database to a new location, and optionally rename the database Connect to the appropriate instance of the SQL Server Database Engine, and then in Object …

  3. database - Restore a postgres backup file using the command line ...

    Enter the following command to restore your database: psql.exe -U postgres -d my_db -f D:\Backup\backup_file_name.sql Type password for your postgres user if needed and let …

  4. sql - How do I back up a database to a .bak file? - Stack Overflow

    May 19, 2009 · I have a website I've created in Visual Studio 2008 and I need to take it live. How can I backup the database file to a .bak so I can hand it over to the hosting company to place …

  5. Import .bak file to a database in SQL server - Stack Overflow

    May 26, 2023 · I have a file with .bak extension. How can I import this file data to a database in SQL Server?

  6. How can I backup a remote SQL Server database to a local drive?

    Oct 15, 2010 · A backup is a BAK file that contains the full database in its current structure including indizes. Of course a BAK file containg the full backup with all data and indizes from a …

  7. PostgreSQL: Export database to .sql file - Stack Overflow

    Jun 23, 2016 · For example, you can export and archive the schema and data of apple database of the user (role) john to backup.sql with e.g. -Fc, -Ft, --format=c and --format t as shown …

  8. What is a simple command line program or script to backup SQL …

    To backup a single database from the command line, use osql or sqlcmd.

  9. SQL Server command line backup statement - Stack Overflow

    May 19, 2009 · Is there a way to script out SQL Server backup in to a batch file, so that it could be executed from a command line?

  10. c# - Using backup database programmatically - Stack Overflow

    Mar 3, 2016 · How can I use a .bak database backup file (backed up via a query in SQL Server) programmatically? I want my application to back up my database to a …