About 320,000 results
Open links in new tab
  1. What is a simple command line program or script to backup SQL server ...

    I've been too lax with performing DB backups on our internal servers. Is there a simple command line program that I can use to backup certain databases in SQL Server 2005? Or is there a simple VB...

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

  3. 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 Postgres to …

  4. SQL Server backup Using Windows command line - Stack Overflow

    Feb 22, 2015 · 0 My Windows Server 2003 got corrupted and I'm trying to repair it but before that I'm trying to create a backup of my SQL Server databases. Can anyone please tell me which files do I …

  5. How can I import an SQL file using the command line in MySQL?

    Jul 10, 2019 · I have a .sql file with an export from phpMyAdmin. I want to import it into a different server using the command line. I have a Windows Server 2008 R2 installation. I placed the .sql file on the C ...

  6. Export MySQL dump from command line - Stack Overflow

    $ mysqldump -P 3306 -h [ip_address] -u [uname] -p db_name > db_backup.sql It should drop the .sql file in the folder you run the command-line from. EDIT: Updated to avoid inclusion of passwords in …

  7. How do I restore a dump file from mysqldump? - Stack Overflow

    mysql -p -u[user] < db_backup.dump To run these commands, open up a command prompt (in Windows) and cd to the directory where the mysql.exe executable is (you may have to look around a …

  8. 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 below. * …

  9. mysql - Take perfect backup with mysqldump - Stack Overflow

    Nov 29, 2023 · If you want to take a full backup i.e., all databases, procedures, routines, and events without interrupting any connections: mysqldump -u [username] -p -A -R -E --triggers --single …

  10. SQL-Server: What does NOUNLOAD and STATS mean in sql command …

    When i go to restore my database in SQL server 2012 i can let display the script or command line action as you know. What do these additional parameters do, Nounload and stats = 10. RESTORE DATABA...