About 302,000 results
Open links in new tab
  1. 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 …

  2. 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 …

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

  4. 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 …

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

    It says: Dumps can be output in script or archive file formats. Script dumps are plain-text files containing the SQL commands required to reconstruct the database to the state it was in at …

  6. 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. "C:\Program Files\Microsoft SQL Server\90\Tools\Binn\osql.exe" -E -Q "BACKUP DATABASE mydatabase …

  7. 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 …

  8. Export and import table dump (.sql) using pgAdmin

    To Backup a database using pgAdmin4 (To get a data dump using a pgAdmin4): Open pgAdmin 4 and connect to your server. Select the database you wish to back up from the left sidebar. …

  9. 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 …

  10. sql - Create a backup without a transaction log - Stack Overflow

    Aug 19, 2014 · 1 I have been given a backup of a SQL Server 2008 database in the form of a 150mb .bak file. When I attempt to restore it to another server it attempts to secure 170gb+ of …