How do I back up the SQLAnywhere database using the dbbackup command while CSUnix runs?
A. Complete these steps in order to issue the dbbackup command to back up the SQLAnywhere database while CSUnix still runs. Note: This procedure assumes that you use c-shell. If you use a different shell, the env command allows you to check that the environment variables are set as shown here. • Issue these commands in order to set the environment variables: setenv SQLANY $BASE/SYBSsa50 setenv LD_LIBRARY_PATH $SQLANY/lib set path=($path $SQLANY/bin) setenv SATMP $SQLANY/tmp • Issue this command in order to run the dbbackup utility: dbbackup -c “ENG=csecure; UID=DBA; PWD=SQL” -x target_directory Replace target_directory with the location where you want the csecure.db and csecure.log backups to be saved.
Related Questions
- How do I determine the number of users that exist in the database for each CSUnix server? What SQL command syntax do I need to use?
- How do I replicate the database using the default database software (SQLAnywhere) that comes with CSUnix?
- How do I back up the SQLAnywhere database using the dbbackup command while CSUnix runs?