Unsolved

This post is more than 5 years old

8 Posts

927

March 26th, 2009 10:00

Can replication for individual snaps be run manually?

At times some snaps do not get replicated (I have an SR open). Is there a way to manually replicate snaps?
We are on 3.7.1.100.
Thanks!

2 Intern

 • 

137 Posts

March 26th, 2009 11:00

Yes you can start the replication process on administration option in GUI, or you can start replication using command line.

I am not pretty sure if you can run the replication for an specific snap, but you can run it for a specific client.

13 Posts

March 26th, 2009 19:00

Most likely all of your data isn't being replicated due to there not being enough bandwidth available or your replication window isn't long enough to accommodate for all of the changes/new backups.

Replication can be run for specific clients and backups within a certain date range, however at first I would advise that this be done with the help of support as there are certain factors that could give you trouble - i.e. only one replication can be run at a time and similar.

In short, you would need to edit or create a new cfg file, similar to /usr/local/avamar/etc/repl_cron.cfg specifying just the client that you wish to replicate with an '--include=[client]' and the dates specified with '--before=[timestamp]' and/or '--after=[timestamp]' switches.

Finally you would run a nohup replication with the following steps:

1. Log in as user admin.

2. Load the ssh keys:
ssh-agent bash
ssh-add ~/.ssh/admin_key

3. Go to the /usr/local/avamar/var/cron directory:
cd /usr/local/avamar/var/cron

4. Run the command and redirect the output to repl_logfile.log file:
nohup replicate --flagfile=/usr/local/avamar/etc/repl_cron.cfg --timeout=0 --logfile=repl_logfile.log >>repl_logfile.log 2>&1 &

5. To see the process you can tail the repl_logfile.log.

6. If you do a grep for processes you will see avtar.bin process, but you will not see a _cron job.
ps -elf | grep avtar

The other cron jobs will now run as scheduled. The regular replication job will exit due to avtar already being in progress.



Hope that this information is helpful to you.

Kind regards,
Goran
No Events found!

Top