Created
July 30, 2017 15:04
-
-
Save amalrik/b6c3bb8fd0a642e3087688b9e04cfa52 to your computer and use it in GitHub Desktop.
restore sql server backup file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1> RESTORE DATABASE UsersDB_ERP_BC | |
2> FROM DISK = '/var/opt/mssql/backup/usersdb_erp_bc.bak' | |
3> WITH MOVE 'UsersDB_ERP_QL' TO '/var/opt/mssql/data/UsersDB_ERP.mdf', | |
4> MOVE 'UsersDB_ERP_QL_log' TO '/var/opt/mssql/data/UsersDB_ERP.ldf' | |
5> GO | |
Processed 675968 pages for database 'UsersDB_ERP_BC', file 'UsersDB_ERP_QL' on file 1. | |
Processed 6 pages for database 'UsersDB_ERP_BC', file 'UsersDB_ERP_QL_log' on file 1. | |
Converting database 'UsersDB_ERP_BC' from version 661 to the current version 869. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 661 to version 668. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 668 to version 669. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 669 to version 670. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 670 to version 671. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 671 to version 672. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 672 to version 673. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 673 to version 674. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 674 to version 675. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 675 to version 676. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 676 to version 677. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 677 to version 679. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 679 to version 680. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 680 to version 681. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 681 to version 682. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 682 to version 683. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 683 to version 684. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 684 to version 685. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 685 to version 686. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 686 to version 687. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 687 to version 688. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 688 to version 689. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 689 to version 690. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 690 to version 691. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 691 to version 692. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 692 to version 693. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 693 to version 694. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 694 to version 695. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 695 to version 696. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 696 to version 697. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 697 to version 698. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 698 to version 699. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 699 to version 700. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 700 to version 701. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 701 to version 702. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 702 to version 703. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 703 to version 704. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 704 to version 705. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 705 to version 706. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 706 to version 770. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 770 to version 771. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 771 to version 772. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 772 to version 773. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 773 to version 774. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 774 to version 775. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 775 to version 776. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 776 to version 777. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 777 to version 778. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 778 to version 779. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 779 to version 780. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 780 to version 781. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 781 to version 782. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 782 to version 801. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 801 to version 802. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 802 to version 803. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 803 to version 804. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 804 to version 805. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 805 to version 806. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 806 to version 807. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 807 to version 808. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 808 to version 809. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 809 to version 810. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 810 to version 811. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 811 to version 812. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 812 to version 813. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 813 to version 814. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 814 to version 815. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 815 to version 816. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 816 to version 817. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 817 to version 818. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 818 to version 819. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 819 to version 820. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 820 to version 821. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 821 to version 822. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 822 to version 823. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 823 to version 824. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 824 to version 825. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 825 to version 826. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 826 to version 827. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 827 to version 828. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 828 to version 829. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 829 to version 830. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 830 to version 831. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 831 to version 832. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 832 to version 833. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 833 to version 834. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 834 to version 835. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 835 to version 836. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 836 to version 837. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 837 to version 838. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 838 to version 839. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 839 to version 840. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 840 to version 841. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 841 to version 842. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 842 to version 843. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 843 to version 844. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 844 to version 845. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 845 to version 846. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 846 to version 847. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 847 to version 848. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 848 to version 849. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 849 to version 850. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 850 to version 851. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 851 to version 852. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 852 to version 853. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 853 to version 854. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 854 to version 855. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 855 to version 856. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 856 to version 857. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 857 to version 858. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 858 to version 859. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 859 to version 860. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 860 to version 861. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 861 to version 862. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 862 to version 863. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 863 to version 864. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 864 to version 865. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 865 to version 866. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 866 to version 867. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 867 to version 868. | |
Database 'UsersDB_ERP_BC' running the upgrade step from version 868 to version 869. | |
RESTORE DATABASE successfully processed 675974 pages in 188.323 seconds (28.042 MB/sec). | |
1> exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment