Browsing Brazilian Portuguese translation

3591 of 3734 results
3591.

#!/bin/sh
####################################
#
# Backup to NFS mount script.
#
####################################

# What to backup.
backup_files="/home /var/spool/mail /etc /root /boot /opt"

# Where to backup to.
dest="/mnt/backup"

# Create archive filename.
day=$(date +%A)
hostname=$(hostname -s)
archive_file="$hostname-$day.tgz"

# Print start status message.
echo "Backing up $backup_files to $dest/$archive_file"
date
echo

# Backup the files using tar.
tar czf $dest/$archive_file $backup_files

# Print end status message.
echo
echo "Backup finished"
date

# Long listing of files in $dest to check file sizes.
ls -lh $dest
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.
There are leading/trailing spaces here. Each one represents a space character. Enter a space in the equivalent position in the translation.

#!/bin/sh
####################################
#
# Script de backup em NFS.
#
####################################

# Fazer backup do que?
backup_files="/home /var/spool/mail /etc /root /boot /opt"

# Para onde enviar o backup?
dest="/mnt/backup"

# Criar o nome do arquivo de backup.
day=$(date +%A)
hostname=$(hostname -s)
archive_file="$hostname-$day.tgz"

# Exibir a mensagem de início de backup.
echo "Fazendo backup de $backup_files em $dest/$archive_file"
date
echo

# Fazer backup usando tar.
tar czf $dest/$archive_file $backup_files

# Exibir a mensagem de final de backup.
echo
echo "Backup finalizado"
date

# Lista longa dos arquivos em $dest para verificar os tamanhos dos arquivos
ls -lh $dest
Translated by programad
Reviewed by André Gondim
Located in serverguide/C/backups.xml:40(programlisting)
3591 of 3734 results

This translation is managed by Ubuntu Brazilian Portuguese Translators, assigned by Ubuntu Translators.

You are not logged in. Please log in to work on translations.