System and method for file system snapshot of a virtual logical disk
AssigneeNetApp, Inc.
InventorDennis E. Chapman
Life of this patent
Estimating the term…
Abstract
A computer database system has one or more application buffers to use in performing input/output (I/O) operations. A file system receives contents of the application buffers. Contents of the file system are written into a nonvolatile memory. A backup command directed at the file system is received. A data contents of the one or more application buffers is moved to the file system in response to receiving the backup command, and the data contents are written to the nonvolatile memory. An operating system blocks I/O operations directed to the file system after the data contents of the one or more application buffers are moved to the file system. A snapshot of the nonvolatile memory is generated while the I/O operations directed to the file system are blocked.
Claims15
A method for providing backup for a computer system, comprising:
- maintaining a database on a first computer of the computer system;
- maintaining a virtual disk on a second computer of the computer system;
- performing input/output (I/O) operations by the first computer with a one or more application buffers;
- writing contents of the one or more application buffers to the virtual disk to update a virtual disk copy of the database;
- receiving a backup command at a selected time;
- writing, in response to receiving the backup command, a remaining contents of the one or more application buffers to the virtual disk where the remaining contents have not been written to the virtual disk;
- blocking the I/O operations directed to the virtual disk after the remaining contents of the one or more application buffers are written to the virtual disk;
- storing the written contents of the virtual disk to a first nonvolatile memory while the I/O operations to the virtual disk are blocked;
- and
- generating a snapshot of the first nonvolatile memory to create a read only copy of the database as it existed at the selected time.
A method for providing backup for a computer system, comprising:
- operating a computer database in a first computer of the computer system, the first computer performing input output I/O operations with a one or more application buffers, the first computer writing contents of the one or more application buffers to a virtual disk executing on a second computer to update a virtual disk copy of the database;
- receiving a backup command at a selected time;
- moving, in response to receiving the backup command, a remaining contents of the one or more application buffers to the virtual disk where the remaining contents have not been written to the virtual disk;
- blocking the I/O operations directed to the virtual disk after the remaining contents of the one or more application buffers are moved to the virtual disk;
- storing the written contents of the virtual disk to a first nonvolatile memory of the second computer;
- and
- generating a snapshot of the first nonvolatile memory to create a read only copy of the computer database as it existed at the selected time.
A computer system, comprising:
- a first computer of the computer system, the first computer maintaining a database, the database having one or more application buffers to use in performing input/output (I/O) operations;
- a second computer of the computer system, the second computer maintaining a virtual disk, a contents of the application buffers written to the virtual disk to update a virtual disk copy of the database;
- a first nonvolatile memory, a contents of the virtual disk to be written to the first nonvolatile memory;
- a backup command received at a selected time;
- a remaining contents of the one or more application buffers to be moved to the virtual disk in response to receiving the backup command, where the remaining contents have not been written to the virtual disk;
- an operating system to block the I/O operations directed to the virtual disk after is the remaining contents of the one or more application buffers are moved to the virtual disk;
- and
- a snapshot of the virtual disk to be generated to create a read only copy of the database as it existed at the selected time.
A computer readable storage media, comprising:
- said computer readable media containing instructions for execution on a processor for a method of providing backup for a computer system, the method having,
- maintaining a database on a first computer of the computer system;
- maintaining a virtual disk on a second computer of the computer system;
- performing input/output (I/O) operations by the first computer with a one or more application buffers;
- writing contents of the one or more application buffers to the virtual disk to update a virtual disk copy of the database;
- receiving a backup command at a selected time;
- writing, in response to receiving the backup command, a remaining contents of the one or more application buffers to the virtual disk where the remaining contents have not been written to the virtual disk;
- blocking the I/O operations directed to the virtual disk after the remaining contents of the one or more application buffers are written to the virtual disk;
- storing the written contents of the virtual disk to a first nonvolatile memory while the I/O operations to the virtual disk are blocked;
- and
- generating a snapshot of the first nonvolatile memory to create a read only copy of the database as it existed at the selected time.
Dependencies are inferred from the claim text.