About 473,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. 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 …

  6. 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?

  7. How to import a bak file into SQL Server Express

    Dec 30, 2013 · I have a .bak file, and I want to use this file to recreate the database in a fresh install of SQL Server 2008 Management Studio. Can someone point me in the right direction …

  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. database - Export MySQL dump from command line - Stack …

    You should use --result-file=db_backup.sql instead of > db_backup.sql. Quote from the MySQL documentation: "UTF-16 is not permitted as a connection character set (see Impermissible …