| Server IP : 35.236.43.222 / Your IP : 216.73.216.143 Web Server : Apache System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64 User : deploy ( 1002) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/google-cloud-sdk/lib/surface/sql/backups/__pycache__/ |
Upload File : |
�
��< � �, � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z ddlm
Z
ddlmZ dd lm
Z
dd
lmZ ddlmZ ddlmZ dd
lmZ e
j e
j j e
j j e
j j � � G d� de
j � � � � ZdS )�)Creates a backup of a Cloud SQL instance.� )�absolute_import)�division)�unicode_literals)�
exceptions)�api_util)�
operations)�validate)�base)�flags)� instances)�log)�
propertiesc �. � e Zd ZdZed� � � Zd� ZdS )�CreateBackupr c �$ � t j | � � t j | � � | � dd�� � | � dd�� � t j � | � � | j � d� � dS )z�Args is called by calliope to gather arguments for this command.
Args:
parser: An argparse parser that you can use to add arguments that go
on the command line after this command. Positional arguments are
allowed.
z
--descriptionz%A friendly description of the backup.)�helpz
--locationz�Choose where to store your backup. Backups are stored in the closest multi-region location to you by default. Only customize if needed.N) r �AddInstance�AddProjectLevelBackupEndpoint�add_argumentr �
ASYNC_FLAG�AddToParser�display_info�AddCacheUpdater)�parsers �!lib/surface/sql/backups/create.py�ArgszCreateBackup.Args&